#Regular division = / (returns a float, even if its a whole number)
# calories = (age * 0.757 + weight * 0.03295 + HeartRate * 1.0781 - 75.4991) * 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 achieved as follows:
#print(f"Calories: {calories:.2f} calories")
age = int(input())
weight = int(input())
heartrate = int(input())
time = int(input())
calories = ((age * 0.2757) + (weight* 0.03295) + (heartrate * 1.0781) - 75.4991) * time / 8.368
print(f"Calories: {calories:.2f} calories")
To embed this project on your website, copy the following code and paste it into your website's HTML: