The body mass index, BMI, is a measure used to determine if a person is overweight or not. We can calculate BMI from the weight of the person (in pounds) and the height (in inches) of the person. The formula for calculating BMI is: BMI = (weightInPounds * 703) divided by (heightInInches squared) In this problem, you will develop a Java program as a BMI calculator, that reads the user’s weight in pounds and height in inches, then calculates and displays the user’s body mass index BMI. Also, display the following information {from the US Department of Health} so the user can evaluate his/her BMI: BMI values: Underweight: less than 18.5 Normal: between 18.5 and 24.9 Overweight: between 25 and 29.9 Obese: 30 or greater
The body mass index, BMI, is a measure used to determine if a person is overweight or
not. We can calculate BMI from the weight of the person (in pounds) and the height (in inches) of the person.
The formula for calculating BMI is:
BMI = (weightInPounds * 703) divided by (heightInInches squared)
In this problem, you will develop a Java program as a BMI calculator, that reads the user’s weight
in pounds and height in inches, then calculates and displays the user’s body mass index BMI. Also, display
the following information {from the US Department of Health} so the user can evaluate his/her BMI:
BMI values:
Underweight: less than 18.5
Normal: between 18.5 and 24.9
Overweight: between 25 and 29.9
Obese: 30 or greater
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images