Question: this is for intro to programming C so please keep it sinple for me to understand and learn. also please include function calls and definitions
2- Write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from the United States Centers for Disease Control: (25 points) BMI Weight Status Below 18.5 Underweight 18.5-249 Normal 25.0-29.9 Overweight 30.0 and above Obese To calculate BMI based on weight in pounds and height in inches, use this formula (rounded to tenths): 703 x weight(lb) BMI (height(in)) a) Write a BMI calculator function that accepts the weight and height as inputs and returns the BMI values. b) In another function, prompt the user to enter weight in pounds and height in inches c) Use a function call to calculate BMI. d) Based on the BMI, determine the weight status and display the results (BMI and weight status). 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
