CIS170C All Assignments CIS170C All Assignments | Page 38

You will be prompted to enter a string of words . The string will be converted into Pig Latin and the results displayed . Enter as many strings as you would like .
Enter a group of words or ENTER to quit Computer Programming is fun to learn !
Original words Computer Programming is fun to learn ! New Words omputercayogrammingprayiswayunfayotayearnlay !
Enter a group of words or ENTER to quit Quit
Pig Latin Hint
If a word begins with one or more consonants , move the consonant or consonant cluster to the end of the word . Add the letters ay to the end of the word . So , pig would be igpay , and “ latin ” would be “ atinlay .”
Step 2 Processing Logic Using the pseudocode below , write the code that will meet the requirements .
Main function Display the heading While the condition is true