Question: I need help writing the program using C and use double not float 37 40 17 19 BMI 30 Overweight Extremely Overweight 1. Write a

I need help writing the program using C and use double not float
37 40 17 19 BMI 30 Overweight Extremely Overweight 1. Write a program that calculates the Body Mass Index (BMI) of the user. Prompt the user for their weight in pounds and height in inches. Then calculate: BMI (weight * 703.0)/(height*height) where weight is in pounds and height is in inches Write out the BMI (as a double), and then write out "underweight" if BMI is less than 18.5, "normal" if BMI is equal or greater than 18.5 but less than 25.0, "slightly overweight" if BMI is equal or greater than 25.0 but less than 30.0, "overweight if BMI is equal or greater than 30.0 but less than 40.0, a "obese" if BMI is equal or greater than 40.0 . Mostly this is an exercise in compiling and executing a program. The actual program is super easy. Compile and test your program using gcc and be sure that you are using ANSI C. Turn in a source file, only. Do not submit a zip file or an executable file. Use the "Add Attachments" button in blackboard to do this. Start your source files with comments that describe it
Step by Step Solution
There are 3 Steps involved in it
To write a C program that calculates the Body Mass Index BMI you can follow these steps The program ... View full answer
Get step-by-step solutions from verified subject matter experts
