Question: Write a C++ program code for an algorithm that asks the user to enter his/her mass (in kilograms, kg) and height (in meters, m). Let
Write a C++ program code for an algorithm that asks the user to enter his/her mass (in kilograms, kg) and height (in meters, m). Let your program compute and output the Body Mass Index, BMI for the user. 1. The BMI formula is mass (kg) BMI (height(m)) 2 . Your program should print the BMI a comment (Obese, overweight, etc.) according to the following chart. Super Obese Morbidly Obese Severely Obese Obese Overweight Ideal BMI Underweight 19 19-25 25-30 30-34 35-39 40-49 +50 National Heart, Lung& Blood Institute
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
