Project… Name Reversal
Write a program that will allow a user to input his name. The prompt and input data would look
something like this:
Please enter your name: Peter Ustinov
Using a for-loop and the String method, substring(…), produce a printout of the reversal of the
name.
For example, the name Steve Martin would be:
nitram evets
Notice that the printout is in all lower-case. Use the String method, toLowerCase( ) to
accomplish this.