Write A Function That Converts A Phrase Into Pig Latin A Word Is Converted To Pig La 2041609

Write a function that converts a phrase into pig Latin. A word is converted to pig Latin by removing the first character of the word, placing it at the back of the word, and adding the characters “ay” to the word. For example, “hello world” in pig Latin is “ellohay orldway.” Your function can assume that each word consists of at least two letters and that each word is separated by one space, with no punctuation marks.

 

Prof. Angela

4.6/5

Calculate Price


Price (USD)
$
Open chat