View the step-by-step solution to:

Question

This question was created from 2.21Lab.pdf https://www.coursehero.com/file/28024499/221Labpdf/

I am having issue getting the output to populate correctly. I need help with the code to get Men: 489.77 calories Women: 580.94 calories to be the output.

The following equations estimate the calories burned when exercising (source):
Men: Calories = [(Age x 0.2017) - (Weight x 0.09036) + (Heart Rate x 0.6309) - 55.0969] x Time / 4.184
Women: Calories = [(Age x 0.074) - (Weight x 0.05741) + (Heart Rate x 0.4472) - 20.4022] x Time / 4.184
Given age (years), weight (pounds), heart rate (beats per minute), and time (minutes), output calories burned for men and
input is 49 155 148 60, the output is:
Men: 489.777 calories
Women: 580.94 calories

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
• -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents