0

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;

Running 6 MPH: 10 METS

Basketball: 8 METS

Sleeping: MET

The number of calories burned per minute may be estimated using the formula

Calories/Minute= 0.0175 X MET X Weight (Kg)

Write a program that inputs a subject's weight in pounds, the number of METS for an activity, and the number of minutes spent on that activitym and then outputs an estimate for the total number of calories burned. One kilogram is equal to 2.2 pounds.