Answered

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



Answer :

Remark: Since no language is mentioned, I'll respond to the query in Python.

Input :

age (years)

weight (pounds)

heart rate (beats per minute)

time (minutes)

Output :

Calories burned for women and men

Program:

# Input data

a = int(input('Input age(years) : '))

w = int(input('Input weight(pounds) : '))

r = int(input('Input heart rate(beats per minute) : '))

t = int(input('Input time(minutes) : '))

# Calculate burned calories count for men and women

men_cal = ((r*0.6309)+(a*0.2017)-(w*0.09036)-55.09)*t/4.184

wom_cal = ((r*0.4472)+(a*0.074)-(w*0.05741)-20.4022)*t/4.184

# Ouput the calculated values

print('Calories burned for women : ',abs(wom_cal))

print('Calories burned for men : ',abs(men_cal))

To learn more about calories burned related program click below-

https://brainly.com/question/13461098

#SPJ4