From now and on yourLastName will be changed to your last name. *Your program should change White to your last name. *Your program should change McKINLEY WHITE to your name. *Change Mary Lane to the name of user who is using the Investment Application  entered from the keyboard. *Write the file name as the first comment line at the top of the program. *After running your program, get the picture of the output window from your program with your name on to paste at the bottom of the pseudo-code to turn in Step1: Read the requirement of each part; write the pseudo-code in a word document by listing the step by step what you suppose to do in main() and then save it with the name as Lab2_pseudoCode_yourLastName.   *Step2:      -start editor (for example eClipse) create the project with the following project name:                                 Part 2: SU2022_LAB2PART2_yourLastName    -add a driver class (file with extension .java)  that contain main()                           Part 2: Class: SU2022_YourBMIadultRate_yourLastName   *Step3: follow step by step in the pseudo-code (or the flowchart) to write the java code in main() or driver class *Step:4 compile and run the program. *Step5: debug if there are any errors to complete the program   LAB2 PART2 REQUIREMENT IF YOU DO NOT HAVE THE PSEUDO-CODE, YOU HAVE TO READ THE BELOW REQUIREMENT THEN WRITE THE PSEUDO-CODE BEFORE WRITING THE CODE   Add the code to main() of the driver class SU2022_YourBMIadultRate_yourLastName to provide the application to calculate the BMI Adult Rate.. The application should display message to ask users to enter the users’ information from the keyboard about:           *The name of user (String)           *Height in inches (int)           *The weight (int)   The formula to calculate the weight:      BMI = (weight * 703) / (height * height)   For example: If your is  McKinley White, the name of user is Mary Lane, the height is 82 inches, the weight is 188 pounds then the output as below:   ------------------------------------------- File: SU2022_YourBMIadultRate_White.java BMI Adult Rate Calculator – McKINLEY WHITE Standard BMI:             18.5 – 24.9 ------------------------------------------- Name:                       Mary Lane Height (inches):                   82 Weight (pounds):                  188 ------------------------------------------ BMI:                            19.65 *After running your program, take screen shot of the output and paste at the bottom of the pseudo-code document to turn in   ITEMS TURN IN THE LAB ON TIME                             Part 2: Name of project and source file correct and files .class 0.5 Part 2: pseudo-code, output picture 2 Part 2: Define variables to read input 2 Part 2: calculate the result correctly 2 Part 2: Display 10 lines in columns, BMI in 2 decimal digits, change to your name, separate the output from input 3 Part 2: compile success – qualify the requirement – code indented easy to read 3 Part 2: File name at the top and write the comments

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

*From now and on yourLastName will be changed to your last name.

*Your program should change White to your last name.

*Your program should change McKINLEY WHITE to your name.

*Change Mary Lane to the name of user who is using the Investment Application  entered from the keyboard.

*Write the file name as the first comment line at the top of the program.

*After running your program, get the picture of the output window from your program with your name on to paste at the bottom of the pseudo-code to turn in

Step1: Read the requirement of each part; write the pseudo-code in a word document by listing the step by step what you suppose to do in main() and then save it with the name as Lab2_pseudoCode_yourLastName.

 

*Step2:  

   -start editor (for example eClipse) create the project with the following project name:        

                        Part 2: SU2022_LAB2PART2_yourLastName

   -add a driver class (file with extension .java)  that contain main()  

                        Part 2: Class: SU2022_YourBMIadultRate_yourLastName

 

*Step3: follow step by step in the pseudo-code (or the flowchart) to write the java code in main() or driver class

*Step:4 compile and run the program.

*Step5: debug if there are any errors to complete the program

 

LAB2 PART2 REQUIREMENT

IF YOU DO NOT HAVE THE PSEUDO-CODE, YOU HAVE TO READ THE BELOW REQUIREMENT THEN WRITE THE PSEUDO-CODE BEFORE WRITING THE CODE

 

Add the code to main() of the driver class SU2022_YourBMIadultRate_yourLastName to provide the application to calculate the BMI Adult Rate..

The application should display message to ask users to enter the users’ information from the keyboard about:

          *The name of user (String)

          *Height in inches (int)

          *The weight (int)

 

The formula to calculate the weight:

     BMI = (weight * 703) / (height * height)

 

For example: If your is  McKinley White, the name of user is Mary Lane, the height is 82 inches, the weight is 188 pounds then the output as below:

 

-------------------------------------------

File: SU2022_YourBMIadultRate_White.java

BMI Adult Rate Calculator – McKINLEY WHITE

Standard BMI:             18.5 – 24.9

-------------------------------------------

Name:                       Mary Lane

Height (inches):                   82

Weight (pounds):                  188

------------------------------------------

BMI:                            19.65

*After running your program, take screen shot of the output and paste at the bottom of the pseudo-code document to turn in

 

ITEMS

TURN IN THE LAB ON TIME

                           

Part 2: Name of project and source file correct and files .class

0.5

Part 2: pseudo-code, output picture

2

Part 2: Define variables to read input

2

Part 2: calculate the result correctly

2

Part 2: Display 10 lines in columns, BMI in 2 decimal digits, change to your name, separate the output from input

3

Part 2: compile success – qualify the requirement – code indented easy to read

3

Part 2: File name at the top and write the comments

1

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education