Question: MYPROGRAMMINGLAB. JAVA LANGUAGE 1.01) One way to measure the amount of energy that is expended during exercise is to use metabolic equivalents (MET). Here are

MYPROGRAMMINGLAB. JAVA LANGUAGE

MYPROGRAMMINGLAB. JAVA LANGUAGE 1.01) One way to measure the amount of energy

1.01) 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: 1 MET The number of calories burned per minute may be estimated using the following formula CaloriesjMinute = 0.0175 * MET * weight in kilograms Write a program that calculates and outputs the total number of calories burned for a 150-pound person who runs 6 MPH for 30 minutes, plays basketball for 30 minutes, and then sleeps for 6 hours. One kilogram is equal to 2.2 pounds. SAMPLE RUN #0: java CalorieBurnedCalculator Highlight: None Show Highlighted Only Interactive Session Hide Invisibles Calories Burned: 1073.8636363636363

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!