Question: c++ simple programming style 5. (6 pts) Complete the following C++ program. The program prompts the user to enter the BMI value, and assigns an
5. (6 pts) Complete the following C++ program. The program prompts the user to enter the BMI value, and assigns an appropriate value to the string variable status based on one's BMI value. The multiway decision statement (if-else if-else) is required to determine the appropriate assignment. . . A BMI below 18.5 is considered underweight. A BMI of 18.5 to 24.9 is considered healthy. A BMI of 25 to 29.9 is considered overweight. A BMI of 30 or higher is considered obese. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
