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 if the triangle is not filled with letters of the sentence, it should be filled with + .
IS ANYONE THAT CAN HELP ME ABOUT THAT ...
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 if the triangle is not filled with letters of the sentence, it should be filled with + .
IS ANYONE THAT CAN HELP ME ABOUT THAT ...
Comment