Flow 1
Flow 1
Module main()
Display "Enter weight and height below to their respective
locations"
Display "to find out you body mass index (BMI)."
Display "Enter your weight below."
Input weight
Display "enter your height below."
Input height
Call calculateBMI()
End Module
Module calculateBMI()
Set BMI = weight * 703 / height^2
Display "Your BMI is ", BMI
End Module
Main()
Input Weight
Input height
calculateBMI()
End
CalculateBMI()
Display "You
r BMI is ", BMI
END