Word Scramble |
Write a program that will reverse the letters in each of a sequence of words while preserving the order of the words themselves.
The input file will consist of several lines of several words. Words are contiguous stretches of printable characters delimited by white space.
The output will consist of the same lines and words as the input file. However, the letters within each word must be reversed.
I love you. You love me. We're a happy family.
I evol .uoy uoY evol .em er'eW a yppah .ylimaf