UVa 483 - Word Scramble

483 - Word Scramble

 * http://acm.uva.es/p/v4/483.html

Summary
Given a sentence output the sentence with every word reversed in place. The word must remain in the order it is read in.

Explanation
We basically need to tokenize each string on the line and reverse it, then output it.

Input
I love you. You love me. We're a happy family. The Graph Problems are more difficult then String parsing problems!

Output
I evol .uoy uoY evol .em er'eW a yppah .ylimaf ehT hparG smelborP era erom tluciffid neht gnirtS gnisrap !smelborp