Question: : Create a new blank C# console application Your basal metabolic rate is the rate at which the body uses energy while at rest to

: Create a new blank C# console application Your basal metabolic rate is the rate at which the body uses energy while at rest to keep vital functions going, such as breathing and keeping warm. This calculation is vital to weight management, as it allows you to determine calories needed to maintain, lose, or gain weight. To determine your BMR, use the appropriate formula: Female: 655+(4.35 x weight in pounds)+(4.7 x height in inches)-(4.7 x age in years) Males: 66+(6.23x weight in pounds)+(12.7 x height in inches)-(6.8 x age in years) Taken from:"Count Calories to Maintain Weight | LIVESTRONG.COM." Http://www.livestrong.com. Web. 6 June 2010.

Write the simple code in Main that asks for and stores (in the appropriate data types) the following information input by the user: their name, age, weight, height and gender; you can assume/prompt that the weight should be in pounds and the height should be in inches. Go ahead and store gender in a string, for now.

Based on the user input, calculate their BMR. Display back to the user the information they entered plus the BMR that you calculated. For both parts, be sure to run and test your program to ensure it works as you intended. Test Data for part 2: Female, 63, 120 lbs, age 32, BMR = 1322.7 Male, 72, 200 lbs, age 32, BMR = 2008.8

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!