Question: create a console app to calculate BMI based on user's height and weight. It helps you review expressions, input/output, conditional statement,and loop in C++.Specification (1)Run

create a console app to calculate BMI based on user's height and weight. It helps you review expressions, input/output, conditional statement,and loop in C++.Specification

(1)Run MS Visual Studio 2019 to create a Console App;

(2)The app asks the user to input his/her height (in feet and inches) and weight (in pounds);

(3)The app calculates the user's BMI, based on the formula:BMI = (703) / ( )

(note: the app needs to convert the users height in feet and inches to height in inches only);

(4)The app shows the BMI value(with 2 decimal places), and the status based on the following table:

BMI value range and Status below:

18.5 24.9 = Normal weight

25 24.9 = Overweight

>= 30 = Obesity

(5)The app asks the user if he/she wants to continue to do more calculations. If the user types "N" or "n", the app stops. Otherwise, it goes back

(6) The app should run like the screenshot below:

 create a console app to calculate BMI based on user's heightII need c++ code to make this app.

- Microsoft Visual Studio Debug Console Enter your height (feet and inches): 54 Enter your height (pounds): 128 Your BMI is 21.97 Normal weight Do you want to continue? (Y) y Enter your height (feet and inches): 58 Enter your height (pounds): 180 Your BMI is 27.37 overweight Do you want to continue? (Y) n D:\Teaching\Spring2021\CPSC246\Homework\we1ybmi \Debug\bmi.exe (process 42384) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the conso le when debugging stops. Press any key to close this window

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 Databases Questions!