Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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).

what is the wrong in my code image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions