Question: Using Java Create a flow chart and write a program that completes the following : Convert any word the user inputs into Pig Latin. For
Using Java
Create a flow chart and write a program that completes the following:
Convert any word the user inputs into Pig Latin.
For any that are not fluent in Pig Latin, here are the rules from Wikipedia:
For words that begin with consonants, the initial consonant or consonant cluster is moved to the end of the word, and "ay" is added, as in the following examples
"happy" "appyhay"
"glove" "oveglay"
"school" "oolschay"
For words that begin with vowels, "way" is added at the end of the word. Examples are
"egg" "eggway"
"inbox" "inboxway"
"eight" "eightway"
Sample Session:
Welcome to the Pig Latin Translator!
Please enter a word: hello
The translation is: ellohay
Enter another word to be translated (or press Q to quit): scratch
The translation is: atchscray
Enter another word to be translated (or press Q to quit): apple
The translation is: appleway
Enter another word to be translated (or press Q to quit): Q
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
