Translate text to Pig Latin
Write a method that will take a text and convert it to Pig Latin. The rules for Pig Latin are, for each word, you move the first letter to the end of the word and add “ay” after it.
input data: book output: ookbay
View Code Template
input data: garage output: aragegay
View Java Solution