Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 345 Weeks Ago, 6 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 19 May 2017 My Price 6.00

Write a program that encodes English language phrases into pig Latin

 

Write a program that encodes English language phrases into pig Latin . Pig Latin is a form of coded language often used for amusement. Many variations exist in the methods used to form pig Latin phrases. For simplicity, use the following algorithm: To form a pig-Latin phrase from an 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” becomes “hetay” and the word “computer” becomes “omputercay.” Blanks between words remain as blanks. Assume that the English phrase consists of words separated by blanks, there are no punctuation marks and all words have two or more letters. Function printLatinWord should display each word. [Hint: Each time a token is found in a call to strtok, pass the token pointer to function printLatinWord and print the pig-Latin word.]

 

 

 

 
 

Answers

(8)
Status NEW Posted 19 May 2017 10:05 AM My Price 6.00

-----------

Attachments

file 1495188728-Answer.docx preview (258 words )
(-----------Pig----------- La-----------tin-----------) W-----------rit-----------e a----------- pr-----------ogr-----------am -----------tha-----------t e-----------nco-----------des----------- En-----------gli-----------sh -----------lan-----------gua-----------ge -----------phr-----------ase-----------s i-----------nto----------- pi-----------g L-----------ati-----------n. -----------Pig----------- La-----------tin----------- is----------- a -----------for-----------m o-----------f c-----------ode-----------d l-----------ang-----------uag-----------e o-----------fte-----------n u-----------sed----------- fo-----------r a-----------mus-----------eme-----------nt.----------- Ma-----------ny -----------var-----------iat-----------ion-----------s e-----------xis-----------t i-----------n t-----------he -----------met-----------hod-----------s u-----------sed----------- to----------- fo-----------rm -----------pig----------- La-----------tin----------- ph-----------ras-----------es.----------- Fo-----------r s-----------imp-----------lic-----------ity-----------, u-----------se -----------the----------- fo-----------llo-----------win-----------g a-----------lgo-----------rit-----------hm:----------- To----------- fo-----------rm -----------a p-----------ig------------Lat-----------in -----------phr-----------ase----------- fr-----------om -----------an -----------Eng-----------lis-----------h-l-----------ang-----------uag-----------e p-----------hra-----------se,----------- to-----------ken-----------ize----------- th-----------e p-----------hra-----------se -----------int-----------o w-----------ord-----------s w-----------ith----------- fu-----------nct-----------ion----------- st-----------rto-----------k. -----------To -----------tra-----------nsl-----------ate----------- ea-----------ch -----------Eng-----------lis-----------h w-----------ord----------- in-----------to -----------a p-----------ig------------Lat-----------in -----------wor-----------d, -----------pla-----------ce
Not Rated(0)