Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA PROGRAMMING LANGUAGE!!!! JAVA PROGRAMMING LANGUAGE!!!! JAVA PROGRAMMING LANGUAGE!!!! JAVA PROGRAMMING LANGUAGE!!!! Pig Latin Write a program that reads a sentence as input and converts

JAVA PROGRAMMING LANGUAGE!!!!

JAVA PROGRAMMING LANGUAGE!!!!

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 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 "DESIGN DOCUMENT EXAMPLE" picture attachment BELOW 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!

ignore the words in the design document example. Mainly focus on the diagram and that you will need to do the same for the pig latin.

DESIGN DOCUMENT EXAMPLE:

image text in transcribed

This is the 5th time I am posting this because everyone is getting it wrong. Please take your time and read it very carefully.

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions