Category Archives: C++ BMI Calculation code

BMI

1) Prompt the user for his/her Weight (in pounds), and Height (in inches) .

2) Calculate the BMI from the user data using the following formula:
                BMI = (weight in pounds * 703) / height in inches

3) Then output an appropriate message using the following table:

Underweight: Your BMI is less than 18.5

Healthy weight: Your BMI is 18.5 to 24.9

Overweight: Your BMI is 25 to 29.9

Obese: Your BMI is 30 or higher
NEEDS TO BE IN .CPP FILE