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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started