Question: Modify your PigLatin function (Exercise 15.7) so that it can translate entire phrases of words into Pig Latin. Similar to the Acronym function from Exercise
Modify your PigLatin function (Exercise 15.7) so that it can translate entire phrases of words into Pig Latin. Similar to the Acronym function from Exercise 17.5, your function should break the input string into words using the split method. It should then translate each word as before and combine the translated words into a new phrase (with a space between each word). Modify your piglatin.html page so that it instructs the user to enter a phrase for translation (see Figure 17.9)?
Step by Step Solution
3.37 Rating (172 Votes )
There are 3 Steps involved in it
function Pig Latinphrase var index words translation wo... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1170).docx
120 KBs Word File
