C++ Burning Calories (Ex 5.4) Using C++ Loops

Share it with your friends Like

Thanks! Share it with your friends!


Starting With C++: From Control Structures to Objects
Homework 5-4: Calories Burned

Running on a particular treadmill you burn 3.9 calories per minute. Write a program that uses a loop to display the number of calories burned after 10, 15, 20, 25, and 30 minutes.


Write a comment