I have a question, what should happen if there is a space right before end of line ?? My code does not get the line feed for this. I did not used "gets".
At first got Wa. I read all the clarifications then Accepted. Some samples by my AC code.
Input:
I love you.
You love me.
The output will consist
of the same lines and words as the input file.
However, the letters within each word must be reversed.