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

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 30PE
icon
Related questions
Question

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

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Program on Numbers
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT