483

Word Scramble
Type: String
Diff: 2.0

Tricks

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.

Related Problems & Topics

492 Pig-LatinContact494Kindergarten Counting Game

If you have any advice, complements 

or proposal, please  Send mail to Author

Submit

1