Advanced Placement (AP)
Advanced Placement (AP), 18.12.2020 01:00, wbrandi118

Write a program that prompts for the user’s age and calculates and displays the user’s maximum heart rateand the range of the user’s heart rate.1.Get the user’s age as an integer (int).2.Calculate the maximum rate: maxRate = 220 –age. Calculate the low range: low = maxRate * 0.5. Calculate the high range: high = maxRate * 0.85.3.Output the results as shown below (assumes the user is 15 years old)Yellow are variables:Max rate: 205Low range rate: 102.5High range rate: 174.25

answer
Answers: 1

Other questions on the subject: Advanced Placement (AP)

image
Advanced Placement (AP), 22.06.2019 14:30, lilbanks4
Why does the author attempt to convince the reader that what he has described of the middle colonies is factual?
Answers: 1
image
Advanced Placement (AP), 23.06.2019 16:40, shjsmbee8177
Which statement is true? a crt is a higher-level respiratory therapy certification. every crt is also an rrt a rrt is a certification that adds a specialization every rrt is also a crt
Answers: 1
image
Advanced Placement (AP), 23.06.2019 17:00, MPSLondon
What are the main functions of the human skeleton? a exchange of gases b support and movement c sensing the environment d digestion and excretion
Answers: 2
image
Advanced Placement (AP), 25.06.2019 00:10, breahnareedy
What is the power of 10 when 0.00503 is written is scientifically notation
Answers: 3
Do you know the correct answer?
Write a program that prompts for the user’s age and calculates and displays the user’s maximum heart...

Questions in other subjects:

Konu
History, 12.11.2020 16:50