Respuesta :
The program requires a sequence control structure; First, we get input for the variables, and then use the formula to calculate the amount of calories burnt.
The program in python is as follows, where comments (in italics) are used to explain each line.
#This gets input for age, in years
age = int(input("Age (years): "))
#This gets input for weight, in pounds
weight = int(input("Weight (pounds): "))
#This gets input for heart rate, in beats per minutes
heart_rate = int(input("Heart Rate (beats per minutes): "))
#This gets input for time, in minutes
time = int(input("Time (Minutes) : "))
#This calculates the calories burnt for men
calories_man = ((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * time / 4.184
#This calculates the calories burnt for women
calories_woman = ((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022 ) * time / 4.184
#This prints the calories burnt for men
print('Men: %0.2f calories' % calories_man)
#This prints the calories burnt for women
print('Women: %0.2f calories' % calories_woman)
Please note that the program does not check for valid inputs
See attachment for program output
Read more about Python programs at:
https://brainly.com/question/22841107
