Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA PROGRAMMING LANGUAGE!!!! JAVA PROGRAMMING LANGUAGE!!!! Pig Latin Write a program that reads a sentence as input and converts each word to Pig Latin. In

JAVA PROGRAMMING LANGUAGE!!!!

image text in transcribed

JAVA PROGRAMMING LANGUAGE!!!!

Pig Latin

Write a program that reads a sentence as input and converts each word to "Pig Latin". In one version of Pig Latin, you convert a word by removing the first letter, placing that letter at the end of the word, and then appending "ay" to the word. Here is an example:

English: I SLEPT MOST OF THE NIGHT

Pig Latin : TAY LEPTSAY OSTMAY FOY HETAY 1GHTNAY

make sure that there are two files English.java & PigLatinator.java TWO CLASSES PLEASE!

Make the design document like in the picture attachment ABOVE and programming code with comments please! If you write the design document on paper please do not write in cursive! I REPEAT DO NOT WRITE IN CURSIVE!

While planning a program, the programmer uses one or more design tools to create a model of the program. Three common design tools are hierarchy charts, flowcharts, and pseudocode. A hierarchy chart is a diagram that graphically depicts the structure of a pro- gram. It has boxes that represent each step in the program. The boxes are connected in a way that illustrates their relationship to one another. Figure 1-10 shows a hierarchy chart| for the pay-calculating program. Calculate Gross Pay Get Payroll Data from User Multiply Hours Worked by Pay Rate Display Gross Pay Read Number of Hours Worked Read Hourly Pay Rate A hierarchy chart begins with the overall task, and then refines it into smaller subtasks. Each of the subtasks is then refined into even smaller sets of subtasks, until each is small

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions