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

Share it with your friends Like

Thanks! Share it with your friends!

Close

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.

Comments

Write a comment

*