Question: Draw data flow testing graphs for the following program segment. weight = get weight in pounds height = get height in inches BMI = (weight
Draw data flow testing graphs for the following program segment.
weight = get weight in pounds height = get
height in inches
BMI = (weight / (height x height)) * 703
if (BMI <= 18.5)
display "underweight"
else if (BMI > 18.5 && BMI <= 24.9)
display "healthy weight"
else if (BMI >24.9 && BMI <= 29.9)
display "overweight"
else if (BMI > 29.9) display "Obesity
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
