Write a method that prompts the user for a word and prints


Question: Write a method that prompts the user for a word and prints out its equivalent in Pig Latin. To translate a word to Pig Latin, take the initial letter, move it to the end of the word and add 'ay'. The new suffix (first letter with ay) should be printed in all caps.

Here is a sample run of the program: Provide me a word to translate to Pig Latin: trash your word is rashTAY in Pig Latin!

Please show me all the working and provide the answer.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a method that prompts the user for a word and prints
Reference No:- TGS0946524

Expected delivery within 24 Hours