Points: 50
Due by 12:35am on Friday, February 26 2016
Work can be re-submitted any time before the due date.
Turn in work
Question 1 (20 points)
Write a C program that lets a user calculate his or her Body Mass Index. Body mass index (BMI) is a measure of body fat based on height and weight that applies to both adult men and women. BMI is calculated using your height (in feet and inches) and weight (in pounds). The formula for BMI is
BMI = (weight in pounds * 703) / (height in inches) ^ 2
The result of the formula is then plugged into a table to determine a person's status:
| BMI | Category |
|---|---|
| greater than 29.9 | Obese |
| 25.0 - 29.9 | Overweight |
| 18.5 - 24.9 | Normal |
| less than 18.5 | Underweight |
Your program will prompt the user for his or her height (get feet and inches) and weight, then output the appropriate BMI (to 1 decimal place) and the category. Use floating point precision.
Question 2 (5 points)
Question 3 (10 points)
Question 4 (15 points)