Question: In C 1. Write a Calorie Calculator program to determine what a person's caloric intake should be for a 24 hour span. The program must

In C In C 1. Write a Calorie Calculator program to determine what a

1. Write a Calorie Calculator program to determine what a person's caloric intake should be for a 24 hour span. The program must make a decision about caloric intake, to maintain current body weight, based on gender, age, weight, and height, and activity level. Before you implement any code, you must draw a flowchart on the whiteboard. Below is the start of flowchart that will help you with this program: perform low activity 2. The Program must first compute the Basal Metabolic Rate (BMR). The BMR formula is the following: Women: BMR - 655+ (4.35 weight in pounds) + (4.7" height in inches) - (4.7" age in years) Men: BMR - 66+ (6.23 * weight in pounds) (12.7" height in inches). (6.8 age in years) To determine total daily calorie needs, your program must apply the following guidelines: 1. Sedentary little to no exercise): Calories BMR 1.2 2. Low activity: Calories BMR * 1.375 3. Moderate activity: Calories BMR 1.55 4. High activity: Calories - BMR 1.725 5. Extra activity: Calories - BMR 1.9 Define functions where appropriate! Also, read age, gender, weight, and height values from a file. How should you arrange the data in your .txt file to represent each of the values? The way you organize the file will directly impact the way your program reads the data from the file. Be very meticulous with the organization of your .txt file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!