Question: Calories Burned File names: caloriesalg.txt, calories.java Create a program that calculates the number of daily calories needed to maintain your current weight. Prompt the user
Calories Burned File names: caloriesalg.txt, calories.java
Create a program that calculates the number of daily calories needed to maintain your current weight.
Prompt the user for his/her weight, gender and activity level.
Use the following menus to prompt the user:
Activity Level:
1) Moderately Active 2) Low Activity level
Gender:
1) Male 2) Female
Use the following chart to determine the caloric intake: Gender Actively Level Calories Needed Female Moderate 12 calories per pound Female Low 10 calories per pound Male Moderate 15 calories per pound Male Low 13 calories per pound Input validation:
Do not accept weights below 10 pounds and only accept valid menu choices.
Display the user's caloric need at the end of the program.
Grading Rubric:
Algorithm (5) _____
If statements (10) _____
Input validation
Determine calories needed Calculations and output (10) _____
I need algorithm and pseudocode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
