- Calculate your BMI value.
- And display comment based on BMI value.
- Underweight = BMI < 18.5.
- Normal weight = BMI (18.5 – 24.9).
- Overweight = BMI (25 – 29.9).
- Obesity = BMI of 30 or greater.
- BMI = ( weight in kg * (height in meter)2 )
You can try the online demo of this project here.