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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!