## Homework 2-2

This homework asks you write a program that takes in input from the command line, and prints out the basic metabolic rate and daily recommended intake in calories for the program's user.

Your program should prompt the user for several different inputs. Feel free to phrase the questions however you want, but they should query the user for:

• Their name
• Their age in years
• Their height in inches
• Their weight in pounds
• A value from 0-4 indicating their exercise level (0 is no weekly exercise, and 4 is very heavy exercise)

Convert their age to seconds. It might be helpful to convert it to days first, then hours, then minutes, and lastly seconds.

Using the conversion of 1 inch to 2.54 centimeters, convert their height to cm.

Using the conversion of 2.2 pound per kilogram, convert their weight to kilograms.

Calculate the Basic Metabolic Rate for Men, which is estimated by
BMR = (10 × weight in kg) + (6.25 × height in cm) - (5 × age in years) + 5

Calculate the Basic Metabolic Rate for Women, which is estimated by
BMR = (10 × weight in kg) + (6.25 × height in cm) - (5 × age in years) - 161

These formulas require the user's age in years, not seconds, so be sure to use the original age in years.

Calculate their daily recommended intake, which can be estimated from
DRI = BMR * (1.2 + (0.175 * activity level))

In a nicely formatted and well-worded paragraph, print the following using string concatenation:

• Their name
• Their age in seconds
• Their height in centimeters
• Their weight in kilograms
• Their Basic Metabolic Rate if they are a man
• Their Basic Metabolic Rate if they are a woman
• Their Daily Recommended Intake if they are a man
• Their Daily Recommended Intake if they are a woman

Here is an example of the programming running. Try these sample inputs to ensure that you get similar results

Make sure your submission has your name in the filename: `FirstLast_HW2-1.py`. “FirstLast” should be replaced with your first and last name or we will take off points. Make sure every task has been completed.