Question: Program : Assume that the McHambut place from above found out that the McGrease meal caused excessive weight gain in order to help their reputation,
Program : Assume that the McHambut place from above found out that the McGrease meal caused excessive weight gain in order to help their reputation, they are now offering a program that determines how much weight a person can gain or lose in a given amount of time. Assume that the average person can eat 2,500 calories per day without gaining or losing weight Your tasks to write a program that asks the user for the number of calories they plan on eating per day as well as the number of days they wil do that it then displays the lotal weight the user will gain or lose Note: there are 3,600 calones in one pound of course, legally consult your physician about any dietary changes you may be considering Sample outputi Enter the number of calories you will consume per day: 2600 Enter the number of days you will eat this much: 36 Weight change 131.0 ha Sample Output 92: Enter the number of calories you will consume per day: 1000 Enter the number of daya you will eat this much: 365 change 1 152.0833 lbs Sample output. 13 Enter the number of calories you will come per day: 1000 Enter the number of days you will eat this much 200 Weight change 1 03.3333.0 lbs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
