Repeat Programming Project 18 from Chapter 2 but in addition ask the user if he or she is:
a.Sedentaiy
b. Some what active (exercise occasionally)
c. Active (exercise 3–4 days per week)
d .Highly active (exercise every day)
If the user answers “Sedentary,” then increase the calculated BMR by 20 percent. If the user answers “Somewhat active,” then increase the calculated BMR by 30 percent. If the user answers “Active,” then increase the calculated BMR by 40 percent. Finally, if the user answers “Highly active,” then increase the calculated BMR by 50 percent. Output the number of chocolate bars based on the new BMR value.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.