Question: Write a Java Program to impletment One way to measure the amount of energy that is expended during exercise is to use metabolic equivalents (MET).

Write a Java Program to impletment

One way to measure the amount of energy that is expended during exercise is to use metabolic equivalents (MET). Assuming MET is 10 for running

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

Calories/Minute=0.0175 MET Weight in pounds 2.2 runningTime in minutes

Define two variables representing a persons weight in pound and running time in minutes. Ask the user to enter these numbers. Define a double type variable representing calories burned and use the formula to calculate it. Finally display the result like: Calories burned is xxxx.xx Make sure display the result in decimal number with no more than 2 decimal digits.

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!