Question: Write a python program that asks a user to enter an age between 2 and 18. Next ask the user to specify how active they
Write a python program that asks a user to enter an age between 2 and 18. Next ask the user to specify how active they are using the following options: S for Sedentary, M for Moderately Active, and A for Active. Then based on these two pieces of information use the chart below to let them know how many calories they should consume and the recommended servings for each food group


Age 2-3 4-8 9-13 14-18 Sedentary 1000 1200 1600 2000 Moderately Active Active 1000 1000 1400 1600 1800 2000 2400 2800 1200-1400 1400-1600 1600-1800 1800 and up Food 1000-1200 Group Fruits Vegetables 1 cup Grains 3 ounces Protein 2 ounces 1 cup 2 cups 2.5 cups 1.5 cups 1.5 cups 4 ounces 3 ounces 1.5 cups 1.5 cups 5 ounces 4 ounces 1.5 cups 2 cups 5 ounces 5 ounces 6 ounces 5.5 ounces Dairy 2 cups 2.5 cups 2.5 cups 3 cups 3 cups Run this program with the following: Age = 13 and Activity level = Active Age = 5 and Activity level = Sedentary Here is how your program should run: Recommended Calorie and Food Intake Calculator Enter an age between 2 and 18: 13 How active is the 13 year old? Enter S for Sedentary, M for Moderately Active, and A for Active: A We recommend intaking 2000 calories Here is the recommended intake amounts for each food group: Fruits: 2 cups Vegetables: 2.5 cups Grains: 6 ounces Protein: 5.5 ounces Dairy: 3 cups
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
