When you exercise aerobically, you should maintain a heart rate within a certain range. To determine this range, first subtract your age in years from 220. Your maximum heart rate should be 85 percent...


When you exercise aerobically, you should maintain a heart rate within a certain range. To determine this range, first subtract your age in years from 220. Your maximum heart rate should be 85 percent of this value; your minimum heart rate should be 65 percent of this value. For example, if you are 20 years old, your heart rate should be between 130 and 170 beats per minute when you exercise. Write a program that asks for the user’s age and reports the minimum and maximum heart rates desirable during exercise. The program should clearly tell the user what to type, and it should clearly describe all output.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here