First I made this program such that as long
as it gets the EOF it exits. But at that situation there is a
word in the stack we need to output that. When I change the code
for that case I got accept .
Remember �Words
are contiguous stretches of printable characters delimited by
white space.�
Your task is to just reverse the order of the letters of a word
not the order of the word. Do not change any other character.
For example the input consists three space within two consecutive word then the output also have three
spaces. |