Pig with Scanner
Your program needs ask the user for their first and last name (as 2 separate questions into 2 separate variables). Repeat back to the user their names so that he knows the program is using the correct name. (ex: "You entered John Smith.") Convert each name to pig latin and tell the user their names in Pig Latin (ex: "Your pig latin name is Ohnjay Mithsay"). Create a method that inputs a String of one name and outputs a String of a pig latin name to help you.
Pig Latin rule for this exercise: Move the first letter to the end of the word and add "ay". Ensure the first letter is capitalized and the others are not. (One way to capitalize correctly by making the entire word lower case and then put together a string that uses the first letter converted to uppercase plus the rest of the word that is already lower case.)
Use your java tools to do remember how to import and use Scanner and use String commands
* Modified from Savitch, Walter. Absolute Java 2nd edition. New York: Addison-Wesley. 2006.