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
*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 |
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images