write a program that takes a line at a time and reverses the words of the lines.
ex. input: i am confused
output: confused am i
the data should contain one blank between each word.
any idea on how to solve this problem?
please give some ideas... how to solve this in c programming language...?
2007-02-25
16:12:07
·
5 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
the first one who answered this is the problem:
input: i am hungry
output: yrgnuh ma i
but it is supposed to be:
output: hungry am i
2007-02-25
16:39:04 ·
update #1