Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please can someone provide me with a Structured English Pseudo Code for this pro

ID: 3863400 • Letter: P

Question

Please can someone provide me with a Structured English Pseudo Code for this program. The instructions are attached below

Training Heart Rate n order for exercise to be beneficial to the cardiovascular system, the heart rate (number of heart beats per minute) must exceed a value called the training heart rate, THR. A person's THR can be calculated from his or her age and resting heart rate (pulse rate when first awakening) as follows: (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. See Fig. 5.6. L- X Heart Rate Resting Age: 20 heart rate: Determine Training Heart Rate THR 148 FIGURE 5.6 Possible outcome of Exercise 16

Explanation / Answer

theHeartRate()

{

Input age

set maxHeartRate to 220-age

input restingHeartRate

set maxHeartRate to maxHertaRate-restingHeartRate

set maxHeartRate to maxheartRate*0.6

set THR to maxHeartRate+restingHeartRate

}

I hope this helps.