Computers and Technology, 28.05.2021 16:40 Arealbot
LAB: Expression for calories burned during workout
The following equations estimate the calories burned when exercising (source):
Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Heart Rate x 0.4472) — 20.4022 ) x Time / 4.184
Men: Calories = ( (Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) — 55.0969 ) x Time / 4.184
Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively.
Output calories burned for women and men. Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
System. out. printf("%.2f", yourValue);
Ex: If the input is:
49 155 148 60
the output is:
Women: 580.94 calories
Men: 891.47 calories
LabProgram. java
1 import java. util. Scanner:
2
3 public class LabProgram {
4 public static void main(String[] args) {
5
6 /* Type your code here. */
7 }
8 }
9
Answers: 3
Computers and Technology, 21.06.2019 15:30, ninja12302
Some of the items below indicate the steps required to move a slide to a different location in a presentation. select those steps and indicate the order in which they should be performed to move the slide. (for example, if an item describes what you do first, select 1.) included in the list are items that are not part of the process. for these items, select n/a, an abbreviation for not applicable. 1 — first 2 — second 3 — third 4 — fourth 5 — fifth 6 — sixth n/a — not applicable drag the slide to the desired place. enter the slide position desired. hold the mouse button down. select move from the tools menu. select the slide. switch to the notes view.
Answers: 3
Computers and Technology, 22.06.2019 22:50, cheyennecarrillo14
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
Computers and Technology, 23.06.2019 18:30, emmaishere69
List 3 items that were on kens resume that should have been excluded
Answers: 1
Computers and Technology, 24.06.2019 03:30, live4dramaoy0yf9
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
LAB: Expression for calories burned during workout
The following equations estimate the calories bu...
Biology, 26.11.2019 06:31