In Exercises 39 through 42, write a program to carry out the stated task.
Training Heart Rate The American College of Sports Medicine recommends that you maintain your training heart rate during an aerobic workout. Your training heart rate is computed as .7 * (220 - a) + .3 * r, where a is your age and r is your resting heart rate (your pulse when you first awaken). Write a program to read a person’s age and resting heart rate and display the training heart rate. (Determine your training heart rate.) A sample run is shown in Fig. 3.12.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.