Question: FLOW CHART AND PUSUECODE Body mass index (BMI) is a fairly reliable indicator of body fatness for most people. The BMI is calculated using the
FLOW CHART AND PUSUECODE
Body mass index (BMI) is a fairly reliable indicator of body fatness for most people. The BMI is calculated using the following formula. BMI weight (in kilogram) height (in metre) The BMI value obtained will determine the status of a person, either underweight, normal, overweight or obese as shown in Table 1 below. Table 1 BMI value Below 18.5 18.5 24.9 25.0 29.9 30.0 and above Status Underweight Normal Overweight Obese A program is required that reads the weight and height of a user, determines his/her BMI value and subsequently determines his/her status. The program should keep on asking the user to enter his/her weight and height and will only terminate when the user enters 0 for the weight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
