Question: 8 THE BODY MASS INDEX PROBLEM Write a function named bmiCalc() that accepts two input parameters of type double, representing a person's height and weight

 8 THE BODY MASS INDEX PROBLEM Write a function named bmiCalc()

8 THE BODY MASS INDEX PROBLEM Write a function named bmiCalc() that accepts two input parameters of type double, representing a person's height and weight (in that order). The function returns (through the return statement) the user's BMI. It also returns, through an integer output parameter, the BMI category as calculated below. BMI below 18.5 18.5-24.9 25.0-29.9 30.0 and up Category Class 4 Here's an example, along with the expected output. int bmiClass; double bni = bmiCalc(70.0, 194.25, bmiClass); cout

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!