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() 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
Get step-by-step solutions from verified subject matter experts
