Program to reverse each word of the String.

Sep 9, 2014
• Ekansh Rastogi

Program : Reverse each word of String

Write a program that takes a string input from the user and then reverse each word of the of the line as entered by
the user.Expected input : "This is a very good blog"Expected output : "sihT si a yrev doog
golb"