One way to measure the amount of energy that is expended during exercise is to u
ID: 3663330 • Letter: O
Question
One way to measure the amount of energy that is expended during exercise is to use metabolic equivalents (MET). Here are some METS for various activities: The number of calories burned per minute may be estimated using the following formula: Write a program that calculates and outputs the total number of calories burned for a person with a given weight in pounds who runs 6 MPH for a specified number of minutes m_1, plays basketball for a specified number of minutes m_2, and then sleeps for a specified number of hours. BTW, one kilogram is equal to 2.2 pounds.Explanation / Answer
#include<iostream.h>
#include<conio.h>
void main()
{
double cal,kg,pound,m1,m2,hr;
cout<<"Enter weight in pound";
cin>>pound;
kg=pound*2.2;
m1=10;
m2=8;
hr=1;
cal=kg*(m1+m2+hr)*0.0175;
cout<<"Total Calories Burn = "<<cal;
getch();
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.