Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following are formulas for calculating the training heart rate ( T H R ) for men and women For men ( Karvonen formula )
The following are formulas for calculating the training heart rate for men and women
For men Karvonen formula: AGE
For women: AGE
where AGE is the person's age, is the resting heart rate, and INTEN is the fitness
level for low, for medium, and for high fitness Write a program that
determines the training heart rate. This should be done before you start to write the script.
The program asks the users to enter their gender male or female age number resting
heart rate number and fitness level low medium, and high The program then displays
the training heart rate rounded to the nearest integer. The display should include the inputs
as variables for the print statement. See example below. Use the program for determining
the training heart rate for the following three individuals.
a A yearold male, resting heart rate of and low fitness level
b A yearold female, resting heart rate of and high fitness level
c A yearold male, resting heart rate of and medium fitness level
Example for part a:
This program calculates the training heart rate for men and women
using age, resting heart rate, and fitness level.
What is your gender male or female male
What is your age?
What is your resting heart rate?
What is your fitness level low medium, or high low
THR
Solution: Other answers: bc
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started