Question: Please write this program in Java with constructor, set, get, implements exception handling, Override 2.33 ( Body Mass Index Calculator ) We introduced the body
Please write this program in Java with constructor, set, get, implements exception handling, Override
2.33 (Body Mass Index Calculator) We introduced the body mass index (BMI) calculator in Exercise 1.10. The formulas for calculating BMI are:
BMI = weightInPounds x 703 heightInInches x heightInInches
Create a BMI calculator that reads the users weight in pounds and height in inches (or, if you prefer, the users weight in kilograms and height in meters), then calculates and displays the users body mass index. Also, display the following information from the Department of Health and Human Services/National Institutes of Health so the user can evaluate his/her BMI.
BMI Categories: Underweight = <18.5 Normal weight = 18.524.9 Overweight = 2529.9 Obesity = BMI of 30 or greater
Note: Should implements exception handling.
Output:
How many pounds you weight? 200
What is your height in inches? 68
Your BMI is 30.4 (Obese).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
