Question: Create a BMI calculator application that reads the user's weight in pounds and height in inches, then calculates and displays the user's body mass

Create a BMI calculator application that reads the user's weight in pounds

Create a BMI calculator application that reads the user's weight in pounds and height in inches, then calculates and displays the user's body mass index. Also, the application should display the following information from the Department of Health and Services/National Institutes 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.0 Obese: 30 or greater The formulas for calculating BMI are: BMI = (weightInPounds * 703) / (heightInInches * heightInInches) Don't forget to use the float datatype when declaring variables. The output screen should look like: C:\Users\dcami\AppData\Local\Temp\Temp1_CIS126L_AnswerKey_Code-1 (4... Please enter your height (in inches): 62 Please enter your weight (in pounds): 152 Your Body Mass Index is 27.8 BMI VALUES Underweight: Normal BMI: Overweight: Obese: less than 18.5 between 18.5 and 24.9 between 25 and 29.9 30 or greater Process exited after 4.006 seconds with return value 0 Press any key to continue . . . -

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!