You are on page 1of 1

ALGORITHM

1.Recieve BMI value


2.If the BMI=(<18.5),category is ‘Underweight’
3.If the BMI =(18.5-24.9),then category is ‘Normal’
4. If the BMI =(25-29.9),then category is ‘overweight’
5. If the BMI=(0.00-1.79),then category is ‘obese’

PSEUDOCODE
START
GET BMI
If (BMI<=18.5),display status ‘Underweight’
Else if (BMI>=18.5)&&(<24.9),display ‘Normal’
Else if (BMI>=25)&&(<=29.9),display ‘Overweight’
Else (BMI>=0.00)&&(<=1.79),display ‘Obese’
End if
END

You might also like