subject

Write a program that repeatedly prompts for an english word to translate into pig latin, and prints the translated word. if the user enters a period, halt the program.
(a) if a word begins with a vowel, append "yay" to the end of the word.
(b) if a word begins with a consonant, remove all consonants from the beginning up to the first vowel and append them to the end of the word. finally, append "ay" to the end of the word.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 20:40
On nba 2k 19, every time i try to join a my park game, it leads ro a website telling my dad that he needs ps plus. i already have ps plus though. how do i fix this?
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
Write a program that repeatedly prompts for an english word to translate into pig latin, and prints...
Questions
question
Mathematics, 02.06.2021 05:40
question
Mathematics, 02.06.2021 05:40
question
Mathematics, 02.06.2021 05:50
question
Mathematics, 02.06.2021 05:50
question
Mathematics, 02.06.2021 05:50
Questions on the website: 13722367