Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My BMI output is 21.00 when it should be 21.40. How do I fix this? Also, there is a warning on 'keyboard', line 7, saying

My BMI output is 21.00 when it should be 21.40. How do I fix this? Also, there is a warning on 'keyboard', line 7, saying it is not closed. How do I get rid of that?

image text in transcribedimage text in transcribedimage text in transcribed

dcccd school docs - SP2023_LAB2PART2_Kaldawi/src/SP2023_AdultBMI_Calculator_Kaldawi.java - Eclipse IDE Edit Source Refactor Navigate Search Project Run Window Help SP2023_Sharesinvestment_Kaldawi.java SP2023_AdultBMI_Calculator_Kaldawi.java dcccd school docs - SP2023_LAB2PART2_Kaldawi/src/SP2023_AdultBMI_Calculator_Kaldawi.java - Eclipse IDE File Edit Source Refactor Navigate Search Project Run Window Help LAB2 PART2 REQUIREMENT Provide the pseudo-code and Java application to help users to calculate the BMI rate of Adults. BMI (Body Mass Index) is a measure of body fat based on height and weight of adult men or women. The application should display message to ask and read from the keyboard users to enter the users' information from the keyboard about: *The name of user (string) *Height in inches (int) *Weight in pounds (int) The formula to calculate BMI: BMI=(weight703)/(heightheight) The BMI rate is displayed in 9 output lines in the following format with the name and numbers should be aligned to the right and with 2 decimal digits. Notes: You must complete reading input before displaying the output and write the comments for each task (not for each line of the code)

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago