// Drew Duffey			CSC5			Chapter 5, P.294, #4
// 
/*******************************************************************************
 * 
 * CALCULATE CALORIES
 * _____________________________________________________________________________
 * This program will calculate the amount of calories burned in certain time
 * intervals.
 * _____________________________________________________________________________
 * INPUT
 * Although this program does not have any user input, we have some given input
 * from the book, that being the time intervals and calories per minute burned
 * 
 * OUTPUT
 * Calories Burned : The number of calories burned at the current time interval
 * 
*******************************************************************************/
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
	float calsBurned;//OUTPUT - The number of calories burned at the current 
					 //time interval
	int mins;//CALC - minutes run on treadmill so far, used to calculate time 
			 //intervals
					 
	for (mins = 10; mins <= 30; mins += 5)
	{
		calsBurned = 3.9 * mins;
		cout << "At " << mins << " minutes, you have burned " << calsBurned <<
			" calories.\n";
	}

return 0;	
}