Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in eclispe You dont exercise : 1658.46 you engage in light, precise 1 to 3 week : 1900.88 you exose modeft 3 to 5 wock

in eclispe image text in transcribed
image text in transcribed
You dont exercise : 1658.46 you engage in light, precise 1 to 3 week : 1900.88 you exose modeft 3 to 5 wock 2431 you exccrise intentely 6-7 daus i 23,77.la You exercise intensy 6-7 day and have Physical active I Job : 2625.89 Create a Calorie Counter program that allows a user to calculate daily caloric needs to maintain his/her weight, using the following rules. Your program should contain a loop that enables the user to input values for all meals and snacks, one at a time. Your program should ask the user to enter a response in the form of a String to indicate he has more data to enter, or if he is done. Make sure you validate input with regard to gender. Each time a meal or snack is entered, the program should display the calories the user has left for the day. Daily Caloric Needs Step 1 Determine your basal metabolic rate with the appropriate formula: Female: 655+(4.35 x weight in pounds)+(4.7 x height in inches)-(4.7 x age in years) Males: 665+(6.23x weight in pounds)+(12.7 x height in inches)-(6.8 x age in years) Step 2 Insert your BMR into the appropriate formula to determine daily caloric needs: You don't exercise: BMR X 1.2 You engage in light exercise one to three days a week: BMR X 1.375 You exercise moderately three to five times a week: BMR X 1.55 You exercise intensely six to seven days a week: BMR X 1.725 You exercise intensely six to seven days a week and have a physically active job: BMR X 1.9

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions