Determine the BMI Category
Use IF, ELSE-IF, and ELSE statements to find the body mass index (BMI) category based on user input.
Problem statement
Suppose you have the body mass index (BMI) of a person, and you want to find out if the person is underweight, healthy, overweight, or obese based on the following:
- obese: BMI is greater than or equal to 30
- overweight: BMI is greater