Question: Write a function will enter weight and height then calculate BMI(Body Mass Index). Your function will return which category the person belongs to. Hint: BMI
Write a function will enter weight and height then calculate BMI(Body Mass Index). Your function will return which category the person belongs to. Hint: BMI = weight (kg)/ height2 (m) Function prototype is void bmi_calculation () Example: Please enter weight (kg):65 Please enter height(m): 1.68 Your category: Normal Hint: BMI=1.68265=23.03, within the normal category
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
