Question: Hello I have this C++ lab. I really do not get the math through the program. Is there any tip you can provide with please.
Hello I have this C++ lab. I really do not get the math through the program. Is there any tip you can provide with please.
Running or walking burns out about 100 calories per mile. Write a program to calculate how many miles you would have to run or walk to burn off the burritos, salads, and shakes that you consume. Use the table shown below for the calculation.
| Food | Calories |
| Bean burritos | 357 |
| Salad with dressing | 185 |
| Milk shake | 388 |
The program would likely run as follows:
How many bean burritos, bowls of salad, and milk shakes did you consume? 3 2 1 You ingested 1829 calories. You will have to run 18.29 miles to expend that much energy.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
