Question: Problem 1 : The following are formulas for calculating the training heart rate ( THR ) : T H R = ( M H R

Problem 1: The following are formulas for calculating the training heart rate
(THR):
THR=(MHR-RHR) INTEN +RHR
where MHR is the maximum heart rate.
For males:
MHR=203.71+e0.033(age-104.3)
For females:
MHR=190.21+e0.0453(age-107.5)
RHR is the resting heart rate, and INTEN the fitness level (0.55 for low, 0.65 for
medium, and 0.8 for high fitness).
Write a program that determines the THR. The program asks users to enter their
gender (male 'M'' or female 'F'), age (number), resting heart rate (number), and
fitness level (low 'L', medium 'M', or high 'H'). The program then displays the
training heart rate (rounded to the nearest integer).
Use the program for determining the training heart rate for the following three
individuals:
(a) A 19-year-old male, resting heart rate of 64, and medium fitness level.
(b) A 20-year-old female, resting heart rate of 63, and high fitness level.
(c) A 63-year old male, resting heart rate of 82, and low fitness level.
 Problem 1: The following are formulas for calculating the training heart

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!