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!

DESIGN DOCUMENT EXAMPLE:

image text in transcribed

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 Multiply Hours Worked by Pay Rate Get Payroll Data from User Display Gross Pay Read Hourly Pay Rate Read Number of Hours Worked 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

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago