programming

Develop and test a program that determines how many breaths and how many heartbeats a person has had in their life. The average respiration (breath) rate of people varies with age. Use the breath rates given below for use in your program,
Breaths per Minute
Infant
25–60
1–4 years
20–30
5–14 years
15–25
15–18 years
11–23
For heart rate, use an average of 67.5 beats per second.