Question: Problem 1 : The following are formulas for calculating the training heart rate ( THR ) : T H R = ( M H R
Problem : The following are formulas for calculating the training heart rate
THR:
INTEN
where MHR is the maximum heart rate.
For males:
For females:
RHR is the resting heart rate, and INTEN the fitness level for low, for
medium, and for high fitness
Write a program that determines the THR The program asks users to enter their
gender male or female 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 yearold male, resting heart rate of and medium fitness level.
b A yearold female, resting heart rate of and high fitness level.
c A year old male, resting heart rate of and low fitness level.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
