Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java Language please and thank you 2.24 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (our) Women

image text in transcribed

java Language please and thank you

2.24 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (our) Women Calories = 1 Age XD 074) -(Weight x 005741)+ (Heart Rate x 0.4472) - 20:4022) Time/4184 Men Calories (Age x 0 2017) + (Weight x 0.09036) + (Heart Ratex 06509) - 60969) Time/4184 Write a program using inputs age years) wecht (pounds heart rate beats per minute and time minutes, respectively. Output cal bumed for women and men Output each floating point value with two dots after the decimal ont which can be achieved as follows System.out.printf("%.2f", yourValue); Ex. If the input is 49 155 14860 the outputs Women: 580.94 calories Men: 391.47 calories 0/10 2241 LAB Expression for calones bumes during workout Lab Program java Scanner tot Clas LAPTOP le state void in Stringar your code here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

CFD is highly risky. Do you agree? Give reasons for your answer.

Answered: 1 week ago