Question: what is the wrong in my code The body mass index is calculated by dividing the weight (in kilograms) over the height squared (in meters).

The body mass index is calculated by dividing the weight (in kilograms) over the height squared (in meters). A healthy BMI ranges between 19 and 25. Ask the user to enter their weight and height and calculate the user's BMI using the formula, BMI =Height2(cm)Weight(km)10000 and tell them their result whether they are healthy or not. Constraints: 1- Use dynamic variables to solve this question 2- Delete the dynamic variables when you no longer need to use them. 3- Use the following function to calculate the BMI and retum the result: double BMI (double *weight, double *height)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
