Question: C++ CODE. MAKE IT SIMPE AND WRITE COMMENTS Coding 1. A target heart rate is useful in establishing a suitable exercise level. To determine, subtract

C++ CODE. MAKE IT SIMPE AND WRITE COMMENTS

Coding

1. A target heart rate is useful in establishing a suitable exercise level. To determine, subtract your age from 220. The upper limit of your target heart rate is 85% of this value; the lower limit is 65%. For example, a 40 year-old person can achieve a healthy workout by reaching a heart rate between 117 and 153 beats per minute. Write a program to read a persons age and print the range of that persons heart rate. The output should look like:

Enter your age: 40

Your target heart rate is 117 to 153 beats per minute.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!