Write a program to sort 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?
eHllo, how aer ouy?
Note: sentence breaking symbols, like: , . ? etc should remain at their original position.
Hint: Break the problem into small tasks as: 1st try to break the sentence into words, then compare ASCII values to sort characters within word then integrate all these tasks.