POD-27-Sep-2016

Ankur Kulhari

Write a program to reverse characters of each word of a user provided sentence. Sentence can be of variable length and may contain any number of words.
Ex:
Hello, how are you?
olleH, woh era ouy?
Note: sentence breaking symbols, like: , . ? etc should remain at their original position.
Hint: Break the problem into small tasks as: 1st try to reverse characters of a word, then think how to separate words from each other and from sentence breaking symbols, then integrate all these tasks.

What do you think about the article?