The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal 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)).

Respuesta :

The program is an illustration of a sequential structure

What are sequential control structures?

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

The actual program

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:

https://brainly.com/question/24833629