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 VO-Max in mL/(kg.min). HRmax ν0, Max 15 HRrest HRmax is the Maximum Heart Rate. (HRmax = 220 – age) HRest 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: Males (VO2Max) Females (VO2Max) mL/(kg-min) 40 – 60 62 – 74 55 – 67 Age Sport |Basketball Bicycling | Canoeing Gymnastics Swimming mL/(kg•min) 43 – 60 yrs 18 - 30 18 - 26 18 - 26 18 - 22 10 - 25 47 – 57 47 – 67 36 – 50 52 – 58 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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section3.3: Using Mathematical Library Functions
Problem 8E: (Transportation) Road construction requires estimating the expected loads on a road’s pavement over...
icon
Related questions
Topic Video
Question

JAVA PROGRAM ( INTELLIJ )

WITH LOOP

Question 3
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).
HRmax
HRrest
VO,Max = 15
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:
Age
Males (VO2Max) Females (VO2Max)
mL/(kg-min)
40 – 60
62 – 74
Sport
Basketball
Bicycling
Canoeing
Gymnastics
Swimming
yrs
18 - 30
18 - 26
mL/(kg-min)
43 – 60
47 – 57
18 - 26
55 - 67
47 – 67
18 - 22
10 - 25
52 – 58
36 – 50
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.
Transcribed Image Text:Question 3 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). HRmax HRrest VO,Max = 15 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: Age Males (VO2Max) Females (VO2Max) mL/(kg-min) 40 – 60 62 – 74 Sport Basketball Bicycling Canoeing Gymnastics Swimming yrs 18 - 30 18 - 26 mL/(kg-min) 43 – 60 47 – 57 18 - 26 55 - 67 47 – 67 18 - 22 10 - 25 52 – 58 36 – 50 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.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L