Question: Write a program that reads lines of input from the user and converts each line into Pig Latin. Pig Latin is English with the initial
Write a program that reads lines of input from the user and converts each line into "Pig Latin." Pig Latin is English with the initial consonant sound moved to the end of each word, followed by "ay". Words that begin with vowels simply have an "ay" appended. Your program should continuously prompt the user for sentences until they enter a blank line, at which point the program should terminate.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
