Answer:
A pseudo code was used in calculating the body mass index (BMI) of a person. The code was executed and can be shown on the explanation section below
Step-by-step explanation:
Solution
#Pseudocode program to calculate the BMI of a person
Input height in meter
Input weight in kg
BMI = Weight / (height)2
If BMI < 18.5 then
Print output as “Underweight”
ElseIf BMI >= 18.5 and BMI < 24.9 then
Print output as “Healthy”
ElseIf bmi >= 24.9 and BMI < 30
Print output as “overweight”
Else BMI >=30 then
Print output as “Obesity”
End if