Description
Write a program that calculates the user’s body mass index (BMI) and categorizes it as underweight,
normal, overweight, or obese, based on the following table from the United States Centers for Disease
Control:
To calculate an individual’s BMI based on weight in kgs and height in meters, use the following formula:
𝑩𝑴𝑰 =
𝒘𝒆𝒊𝒈𝒉𝒕(𝒌𝒈)
(𝒉𝒆𝒊𝒈𝒉𝒕(𝒎))
𝟐
Your program should accept the weight and height as inputs and returns the BMI value along with the
weight status as an output.
a) Allow the user to enter their height and weight in SI units. (10 points)
b) Calculate the user’s BMI. (10 points)
c) Categorize the user’s weight status based on the above table. (20 points)
d) Let the user know their BMI and health status. (10 points)