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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:20, manny2085
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
image
Computers and Technology, 22.06.2019 22:20, kaiyerecampbell95
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
image
Computers and Technology, 23.06.2019 23:00, GreenHerbz206
Computer programming is one type of what career
Answers: 1
image
Computers and Technology, 24.06.2019 05:30, MOONCHILDSUGA
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
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 in other subjects:

Konu
Mathematics, 02.03.2021 16:50
Konu
Mathematics, 02.03.2021 16:50
Konu
Mathematics, 02.03.2021 16:50