Using of arrays,pointers ,functions is forbidden
In this code I should take from user a SENTENCE and save it in a Char Variable.
User after writing the sentence can type '#' to end the input. After the user enters the sentence,it can be with (commas ',' duts'.' and space' ' ) .Then I should do the functions for counting how many words, how many sentences... I've done whole the code. Just one part is missing. Writing that...
User Profile
Collapse
-
how can I write a given SENTENCE in triangle ?
Hi , can anyone help me about writing a given sentence in Floyd's triangle .
e.g ,
printf("Write a sentence:\n");
sentence=getcha r(); ( I should not use arrays , functions,point ers)
and as a sentence this one is given , e.g. helloworld!
W
WW
WWW
WWWW
WWWWW
WWWWWW
WW+++++++
and...
No activity results to display
Show More
Leave a comment: