Question: please write in basic C++ nothing complicated. Write a program that display a message indicating whether the person has optimal weight, is underweight, or is

please write in basic C++ nothing complicated.
please write in basic C++ nothing complicated. Write a program that display
a message indicating whether the person has optimal weight, is underweight, or

Write a program that display a message indicating whether the person has optimal weight, is underweight, or is overweight. The program should ask the user to enter a number within the range of 1 through 3. Use switch statements to display the appropriate message according to body mass index (BMI) value. Expected outputs: Microsoft Visual Studio Debug Console Body Mass Index - BMI less than 18.5 2- BMI betueen 18.5 to 25 3- BMI greater than 25 Please select number between 1 to 3 according to your BMI : 1 You are underveight. Microsoft Visual Studio Debug console Body Mass Index 1- BMI less than 10.5 - II hatunen 1.5 to 25 3 - Lyreater than 25 Please select a number hetuen 1 to 3 according to your : 3 You are overweight. Microsoft Visual Studio Debug Contole Body Mass Index - 1 less than 10.5 2- I bet 18.5 to 25 TIMI enter than 26 Please select number on to according to your BMI 2 Your ught is optimal Microsoft Visual Studio Debug Console Body Mass Index 11- BMI less than 18.5 2- BMI between 18.5 to 25 2- IMI greater than 25 Please select a nunber between 1 to 3 according to your BMI : 2 Your weight is optinal. Microsoft Visual Studio Debug Console Body Mass Index 1- UML less than 10.5 - BMI between 18.5 to 25 3- UMI greater than 25 Please select a number between 1 to y according to your BMI 5 Invalid choicet choose a nunber 1-3

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!