subject
Health, 24.11.2021 01:00 LMixer5sosCR7Fan

According to the American Heart Association, as you exercise you should periodically check your heart rate to ensure you are in your target zone. Your target zone is a range that is 50% to 85% of your maximum heart rate. The formula for calculating a persons maximum heart rate is 220 minus your age in years. Write a program that reads the users current heart rate, birthday, and the current day (each consisting of month, day, and year). The program should calculate the persons age (in years), the person's maximum heart rate, and the person's target heart rate zone range. Output the users age, current heart rate, target zone range. If their heart rate is in the target zone congratulate them, if it is out of their target zone warn them. Required Functions (Write these first and use them in your algorithm): (your code, particularly for computeAge, must be 100% clear and documented - it's the core of this assignment!) int computeAge(int birthMonth, int birthDay, int birthYear, int currentMonth, int currentDay, int currentYear); int computeMaximumHeartRate(int age); int computeZoneMinimum(double maximumHeartRate); int computeZoneMaximum(double maximumHeartRate).

ansver
Answers: 2

Another question on Health

question
Health, 22.06.2019 09:30
List the 4 steps for scene assessment (what you do at the very beginning) for an adult
Answers: 1
question
Health, 23.06.2019 07:00
When do people generally experience rapid growth for a second time? a. between the ages of 3 and 9 b. between the ages of 9 and 12 c. between the ages of 13 and 20 d. between the ages of 25 and 29 which action occurs in the third stage of cell division? a. the nuclear material of cell is copied exactly. b. the nuclear membrane disappears. c. the cell forms two nuclei d. the nuclear material separates, with half moving to either side of the cell.
Answers: 2
question
Health, 23.06.2019 11:10
True or false. bulimia can begin with a weight-loss diet.
Answers: 2
question
Health, 23.06.2019 11:20
What is a negative influence on community health? a: national health debt b: citizens who drive unsafely c: unreliable public transportation d: stores that sell tobacco to minors
Answers: 1
You know the right answer?
According to the American Heart Association, as you exercise you should periodically check your hear...
Questions
question
Mathematics, 12.03.2021 02:00
question
Computers and Technology, 12.03.2021 02:00
question
Mathematics, 12.03.2021 02:00
question
Mathematics, 12.03.2021 02:00
question
English, 12.03.2021 02:00
question
Mathematics, 12.03.2021 02:00
question
Mathematics, 12.03.2021 02:00
Questions on the website: 13722360