Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need in C programming language Problem 1: The following are formulas for calculating the training heart rate (THR): THR=(MHRRHR)INTEN+RHR where MHR is the maximum
i need in C programming language
Problem 1: The following are formulas for calculating the training heart rate (THR): THR=(MHRRHR)INTEN+RHR where MHR is the maximum heart rate. For males: MHR=1+e0.033(age104.3)203.7 For females: MHR=1+e0.0453(age107.5)190.2 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 indviduals: (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 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