1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jarptica [38.1K]
3 years ago
10

The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journa

l article (source): calories = ( (age x 0. 2757) + (weight x 0. 03295) + (heart rate x 1. 0781) — 75. 4991 ) x time / 8. 368 write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output the average calories burned for a person. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('calories: {:. 2f} calories'. Format(calories)).
SAT
1 answer:
Karolina [17]3 years ago
7 0

The program is an illustration of a sequential structure

<h3>What are sequential control structures?</h3>

Sequential control structures are programs that do not require loops and conditional statements

<h3>The actual program</h3>

The program in Python where comments are used to explain each line, is as follows:

#This gets input for age

age = int(input("Age: "))

#This gets input for weight

weight = (input("Weight: "))

#This gets input for the heart rate

heartRate = float(input("Heart Rate: "))

#This gets input for the time

time = int(input("Time: "))

#This calculates the calories burnt

calories = ((age * 0.2757) + (weight * 0.03295) + (heartRate * 1.0781) - 75.4991 ) * time / 8.368

#This prints the calories burnt

print('calories: {:. 2f} calories'. Format(calories))

Read more about similar programs at:

brainly.com/question/24833629

You might be interested in
The ph scale is a measure of how __________ a solution is. what one word completes this sentence?
marusya05 [52]

The pH scale is a measure of how acidic a solution is.

<h3>What is a pH scale?</h3>

The unit of measurement to determine how acidic or basic a solution is, is done via a pH scale, which ranged from 0 to 14, on which 0 to 6.9 means that the solution is acidic, and 7 is neutral.

Hence, the pH scale helps to determine the acidic amount of the solution.

Learn more about pH scale here:

brainly.com/question/1433865

#SPj1

4 0
3 years ago
Complete the sentence. firewalls have rules that only allow certain files to be accessed by users within the .
koban [17]

Answer:network

Explanation: I got it right

6 0
2 years ago
What is the kinetic energy of a 4 kg cart pushed at a rate of 0.5 m/s?
irakobra [83]

Answer:

2 N/newtons of force

Explanation:

2kg x 0.5m/s/s = 2 N/newtons of force

3 0
3 years ago
If John has 84 apples and sally has 2 what is the total amount of apples
NeX [460]

Answer:

86 Apples in total.

Explanation:

If John has 84 and Sally has two, to find the total between them we add both numbers. 84 + 2 = 86 apples.

6 0
3 years ago
Read 2 more answers
Tue Oct 20
zheka24 [161]
What do you mean with this question ?hmmmmmmmmmmmmmmmm can you maybe examples
8 0
3 years ago
Other questions:
  • Terrence measures the amount of water displaced by various objects when they are dropped into a graduated cylinder of water. By
    15·2 answers
  • .   The outlet line from the evaporator should be 
    9·1 answer
  • True or false <br> Police and paramedics are emotionally effect by collisions
    5·2 answers
  • Ini pelajaran simding kls 10​
    15·1 answer
  • The metric prefix deca- means???? <br> a. 0.1<br> b. 10<br> c. 100<br> d. 1000
    12·1 answer
  • Does apparent visual magnitude of two stars tell us which star shines more light on the same area of Earth in the same time inte
    6·1 answer
  • Compared to other stars, our Sun has an average mass.
    5·2 answers
  • What does the score range mean below my score?
    15·2 answers
  • Let x represent the volume of blood drawn for a blood test. Is the random variable x discrete or continuous
    9·2 answers
  • when disinfecting pedicure equipment that holds water, once each week, the basin must be filled with a solution of water contain
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!