Write a program that encodes english-language phrases

Assignment Help Computer Engineering
Reference no: EM132210090

Write a program that encodes English-language phrases into pig Latin. To translate an English word into a pig Latin word, place the first letter of the English word at the end of word and add "ay".

For example, "dog" would become "ogday" and cat would become "atcay".

Your program should prompt the user to enter an English sentence and then print the sentence with every word changed to pig latin. (One way to do tis would be to split the sentence into words with the split() method.)

For simplicity, there will be no punctuation in the sentences.

Run like:

Enter a string to be translated: the fox jumps over the lazy dog

hetax oxfay umpsjay veroay hetay azylay ogday

Reference no: EM132210090

Questions Cloud

Albertsons is creating new sausage production line : Albertsons is creating a new sausage production line. The company mixes Beef and Pork in different proportions to create three types of sausage.
Describe specific experimentation and observational methods : Describe specific experimentation and observational methods that could be used within your discipline to gather data. Include your rationale.
Write a program that creates three vector objects : Write a program that creates three vector objects IN C++. Fill the first two objects with 25 floating-point numbers using a for loop.
What court would be the proper forum for her lawsuit : If Barb files a lawsuit against Bobo for negligence, what court would be the proper forum for her lawsuit? If federal court the proper forum?
Write a program that encodes english-language phrases : To translate an English word into a pig Latin word, place the first letter of the English word at the end of word and add "ay".
What is the corporate strategy of under armour : What is the corporate strategy of Under Armour? Growth, retrenchment or stability?
Write a program that will generate a random recycle bin : Write a program that will generate a random recycle bin. This program will have a menu that allows the user to generate a new recycle bin.
What are some alternatives to the changes to this project : How will these changes impact the project budget, scope, and timeline? What are some alternatives to the changes to this project?
Considering the introduction of new product line : George Fine, owner of Fine Manufacturing, is considering the introduction of a new product line.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Comment on advantage and disadvantage in using simd computer

Comment on the advantages and disadvantages in using SIMD computers as compared with the use of pipelined supercomputers for vector processing.

  Encapsulates statistics for summer job salaries for a group

Write a class (and a client class to test it) that encapsulates statistics for summer job salaries for a group of people over several years.

  Write a script called activity that checks you can execute

Write a script called activity that checks whether you can execute a file whose pathname is provided by the user.

  Write a program to determine the time and date corresponding

Write a program to determine the time and date corresponding to a elapsed number of seconds since 00: 00: 00 on 1 January 2016.

  How to generate a complete erd in crows foot notation

How to generate a complete ERD in Crow's Foot notation

  What are some of the physical barriers provided by cctv

What are some of the physical barriers provided by CCTV and chain link fences as it relates to discouraging criminal activities?

  What bit will be added to support even parity

Given the character 0110101, what bit will be added to support even parity? Given the character 1010010, what bit will be added to support odd parity?

  Questioncreate a white paper based on knowledge listed

questioncreate a white paper based on knowledge listed below. please be sure to contain any security concerns. include

  Which sniffer tool is designed to intercept passwords

Which sniffer tool is designed to intercept and reveal passwords? Which of following is an application-level scanner? Who originally designed and created Linux?

  Compute the bill for a recent job that used the given parts

Pricing Services Watt Car Repair specializes in repairing electric cars. Compute the bill for a recent job that used the above parts and labor.

  Challenges of internet search

State different challenges of relying over the Internet for your research?In extending a single-system mail system to distributed mail system, state the key additions which should be involved? Discuss in scholarly detail.

  What would be the transmission rate

Supposed two TCP connections are present over some bottleneck link of rate R bps. Both connections have a huge file to send (in the same direction over the bottleneck link). The transmissions of the files start at the similar time. What is the tra..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd