Question: Could you do programming with c language? Write a program that encodes English-language phrase, tokenize the phrase into words with function strtok. To translate each
Could you do programming with c language?
Write a program that encodes English-language phrase, tokenize the phrase into words with function strtok. To translate each English word into a pig-latin word, place the first letter of the English word at the end of the English word and add the letters "ay". Thus the word "jump" becomes "umpjay", the word "the" become "hetay" and the word "computer" becomes "omputercay". Blacks between words remain as blanks. Assume the following: The English phrase consists of words separated by blanks, there are no punctuation marks, and all words have two or more letters. The sample program execution is as follows: Enter your phrase: hello happy birthday joey Pig-Latin phrase is: ellohay appyhay irthdaybay oeyjay For this question, you are free to define you own functions and use them in the main function. For this question, you need to write your program in file, called question2 c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
