While exercising you can use a heart-rate monitor to see


Question: (Target-Heart-Rate Calculator) While exercising, you can use a heart-rate monitor to see that your heart rate stays within a safe range suggested by your trainers and doctors. According to the American Heart Association (AHA), the formula for calculating your maximum heart rate in beats per minute is 220 minus your age in years. Your target heart rate is a range that's 50-85% of your maximum heart rate. Create a program that reads the user's birthday and the current day (each consisting of the month, day and year). Your program should calculate and display the person's age (in years), the person's maximum heart rate and the person's target-heart-rate range.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: While exercising you can use a heart-rate monitor to see
Reference No:- TGS02403721

Now Priced at $15 (50% Discount)

Recommended (99%)

Rated (4.3/5)