CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 27

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 Prompt the user for group of words or Enter to quit Display original words Call function pigLatinString() End while pigLatinString() function
Declare and initialize string variables len, counter, start, begin, word and newString
While condition is true