Homework #4

Pig Latin is a language game, where you move the first letter of the word to the end and add “ay.” We will use “If” and “else”. First, we need to input a word in English. Second, make sure that our word is valid word. Third, convert the word from English to Pig Latin and lastly, display the translation result.

pyglatin-1pyglatin-2pyglatin-3pyglatin-4pyglatin-5