Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hey everyone this is my homework for the week. I havent had time to do it and i need your help! thank you! Mission #4

image text in transcribed

hey everyone this is my homework for the week. I havent had time to do it and i need your help! thank you!

Mission #4 CS 1400 - Hilton Write a program that will 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 is moved to the end of the word, and "ay" is added, as in the following examples "happy" "appyhay" "glove" "oveglav "school" "00lschay" For words that begin with vowels, "way" is added at the end of the word. Examples are "egg" "eggway" "inbox" "inbonway" "eight" "eightway" Sample Session: Welcome to the Pig Latin Translator! Please enter a word: hello The translation is: ellohay to quit): scratch Enter another word to be translated (or press 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 Submit your .java file containing the source code via WSU Online

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Add or subtract as indicated. 9 4x3 17 4x3

Answered: 1 week ago