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

1 Expert Approved Answer
Step: 1 Unlock

function Pig Latinphrase var index words translation wo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1170).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!