subject

This program is meant to give you practice with string manipulation. "pig latin" is a way of converting words in standard english to similar words that sound different. the rules for converting from standard words to pig latin are as follows: • if a word starts with a consonant (or cluster of consonants that form one sound), move the consonant(s) to the end of the word, and add "ay" to the end. o e. g. "computer" becomes "omputercay" • if a word starts with a vowel, add "yay" on to the end of the word. o e. g. "engineering" becomes "engineeringyay" • note: treat "y" as a vowel for this assignment. write a program that repeatedly reads in a word from a user, converts it to pig latin, then prints both the original word and the pig latin version to the console. the program should continue reading words until the user enters "stop".

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Draw the resistor’s voltage and current phasors at t=15ms. draw the vectors with their tails at the origin. the orientation of your vectors will be graded. the exact length of your vectors will not be graded.
Answers: 2
You know the right answer?
This program is meant to give you practice with string manipulation. "pig latin" is a way of conver...
Questions
question
Physics, 09.01.2021 14:20
question
Chemistry, 09.01.2021 14:20
question
French, 09.01.2021 14:20
question
History, 09.01.2021 14:20
question
Mathematics, 09.01.2021 14:20
question
Mathematics, 09.01.2021 14:20
question
Chemistry, 09.01.2021 14:20
question
Chemistry, 09.01.2021 14:30
Questions on the website: 13722367