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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

JAVACODE ( INTELLIJ )

 

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.

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
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY