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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started