Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

6. Explain how to train managers to coach employees.

Answered: 1 week ago