User Profile

Collapse

Profile Sidebar

Collapse
xhani
xhani
Last Activity: Dec 24 '09, 09:37 PM
Joined: Nov 15 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • xhani
    replied to how can I write a given SENTENCE in triangle ?
    in C
    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...
    See more | Go to post

    Leave a comment:


  • xhani
    started a topic how can I write a given SENTENCE in triangle ?
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...