Question
Ahsoka Tano is a computer science student trying to make some lifestyle changes and be more active during her programming filled days. She wants to
Ahsoka Tano is a computer science student trying to make some lifestyle changes and be more active during her programming filled days. She wants to start working out and knows that monitoring your heart rate during a workout is important to make sure you challenge yourself properly without hurting yourself. Only problem is she doesnt know how to measure that. She did some quick research and found that the Karvonen formula can help individuals determine their target heart rate (HR) training zone. The Karvonen formula uses maximum and resting heart rate with the desired training intensity to get a target heart rate. Maximum Heart Rate (MHR) = 220 Age Target Heart Rate (THR) = [(MHR Resting HR) x %Intensity] + Resting HR Ahsoka could just Google Karvonen Formula Calculator, but that would be no fun. Help your fellow CS student by writing a C++ program that does the following: Prompt the user for: o First Name o Last Name o Age o Resting HR (Beats Per Min aka BPM) o Training Intensity Range (minimum %) o Training Intensity Range (maximum %) Then, display a user summary that has the following information: o The users first and last initials o Age o Resting HR (BPM) o Max HR (BPM) o Target Heart Rates (BPM) for their range Once your program is working, test it with the values in the screenshot below. You should get the same output. Then, run your program and test it with different values.
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