Home /
Expert Answers /
Computer Science /
there-is-a-formula-that-will-calculate-your-target-heart-rate-zone-for-aerobic-exercise-lower-lim-pa634
(Solved):
There is a formula that will calculate your target heart rate zone for aerobic exercise: Lower lim ...
There is a formula that will calculate your target heart rate zone for aerobic exercise: Lower limit \( (\mathrm{bpm})=60 \% \) of the difference between 220 and your age Upper limit \( (\mathrm{bpm})=75 \% \) of the difference between 220 and your age As with the previous exercises, create a new project, lab3_ex3 Your program will take a user's age from standard input (cin), and output (cout) their target heart rate zone, showing both the lower and upper limits, as floating-point values. (Note that if a floating point value is an exact whole number - i.e. the decimal part is exactly \( .0-\mathrm{C}++ \) will drop the decimal in the display; so \( 731.0 \) will display as 731). Example: (user input is bold and underlined): What is your age? 25 Your target heart rate is between 117 and \( 146.25 \mathrm{bpm} \).