Question: In Exercise 16 construct Function procedures to carry out the primary task of the program(4 points) 16.Training Eeart Rate. In order for exezcises to be

In Exercise 16 construct Function procedures to carry out the primary task of the program(4 points) 16.Training Eeart Rate. In order for exezcises to be beneticial to the cardiovascular system, the heart rate (number of heart beats per minutel nust excced a value called the training heart rate, THR. A person S THR can be calculated from his or her age and resting heart zate (palse rate when first awakening) as tallows: a) Calculate the maximum heart rate as 220-age b) Subtract the resting heart rate from the maximum heart rate c) Multiply the result in step (b) by 60%, and then add the resting heart rate. Write a program to request a person's age and resting heart rate as input and display his or her THR. Consider the following figure: Heart Rate - Resting heart rate Age 70 Determine Training Heart Rate THR 148 Private Sub btobeti lick Handles Calculate exercise h Dis age As Integer, cestBate As Double
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
