Professional Documents
Culture Documents
Algo
Algo
Algo
Step 1: Start
Step 2: Declare variable h, w, and BMI
Step 3: Define the values of h and w
w
Step 4: BMI ←
h∗h
Step 5: If BMI < 18.5 then print “underweight”
Else
If BMI < 24.9 then print “normal weight”
Else
If BMI < 30 then print “overweight”
Else
Print “obesity”
Step 6: Stop