1. Other
  2. Other
  3. the vo2max score of an athletic reflects the physical fitness...

Question: the vo2max score of an athletic reflects the physical fitness...

Question details

The VO2Max score of an athletic reflects the physical fitness of an individual. It is the maximum capacity of an individual's body to transport and use oxygen during incremental exercise. Kaplan Sports Club requires a Sports Recommender program to calculate the VO2Max of an individual and display the type of sport the athletic is suitable for. The Sports Recommender program use the following formula to calculate each athlete’s VO2Max in mL/(kg.min). 𝑉𝑂2𝑀𝑎𝑥 = 15 𝐻𝑅max 𝐻𝑅rest HRmax is the Maximum Heart Rate. (HRmax = 220 – age) HRrest is the Resting Heart Rate. The program is to accept the HRrest , age, gender of the athletic and display the type of sports that athletic is suitable for based on the following table: Sport Age yrs Males (VO2Max) mL/(kg·min) Females (VO2Max) mL/(kg·min) Basketball 18 - 30 40 – 60 43 – 60 Bicycling 18 - 26 62 – 74 47 – 57 Canoeing 18 - 26 55 – 67 47 – 67 Gymnastics 18 - 22 52 – 58 36 – 50 Swimming 10 - 25 50 – 70 40 – 60 The program needs to be ‘smart’ enough as well. When inappropriate values are entered to the program, for example, a negative age, then the program will ask the operator to enter the value again.

Answer using intelli j java.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution