In C programming,
Create a program that prompts the user for their age and theirresting heart rate. Use the Karvonen formula to determine thetarget heart rate based on a range of intensities from 55% to95%.
TargetHeartRate = (((220 – age) – restingHeartRate) x intensity)+ restingHeartRate
Use a loop to increment the percentages from 55 to 95.
Write a function that accepts as parameters theuser’s age, resting heart rate, and intensity and
returns the Karvonen target heart rate.
Write a function that displays the tabular report, formatted asshown.
Generate a table with the results as shown in the exampleoutput.
Ensure the heart rate and age are in a “normal”
PayPal Gateway not configured
PayPal Gateway not configured