subject

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

ansver
Answers: 1

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 24.06.2019 21:00
You are a psychologist who has been asked to write a brief report about the possible causes of anxiety (nervousness, fears, in your report, write up a summary that explains and examines anxiety according to each of the psychological perspectives: psychoanalytic behavioral cognitive humanistic biological sociocultural
Answers: 1
question
Advanced Placement (AP), 25.06.2019 18:30
In which of the following conflicts did the distribution of ethnic groups act as a centripetal force? cyprus afghanistan north and south korea iraq former yugoslavia
Answers: 1
question
Advanced Placement (AP), 26.06.2019 18:00
What property does soil or rock need to be permeable? a.)young b.)old c.)non porous d.)porosity
Answers: 1
question
Advanced Placement (AP), 26.06.2019 21:40
The biopsychosocial perspective is best described as focused on the subconscious mind. based more on genetics than environment in explaining human behavior. a complete approach to explaining human behavior. the first major perspective in psychology. a one-dimensional approach to explaining human behavior.
Answers: 2
You know the right answer?
Write a program that prompts for the user’s age and calculates and displays the user’s maximum heart...
Questions
question
Biology, 15.11.2019 19:31
question
Mathematics, 15.11.2019 19:31
question
Biology, 15.11.2019 19:31
Questions on the website: 13722360