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 VOMax in mL/(kg.min). HRmax vO,Max = 15 HRrest HRmax is the Maximum Heart Rate. (HRmax = 220 – age) HR:est is the Resting Heart Rate. The program is to accept the HRst , age, gender of the athletic and display the type of sports that athletic is suitable for based on the following table: Age Males (VO:Max) Females (VO:Max) Sport Basketball mL/(kg min) mL/(kg min) yrs 18 - 30 40 – 60 43 – 60 Bicycling Canoeing Gymnastics Swimming 18 - 26 62 – 74 47 – 57 18 - 26 55 – 67 47 - 67 18 - 22 52 – 58 36 - 50 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.
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 VOMax in mL/(kg.min). HRmax vO,Max = 15 HRrest HRmax is the Maximum Heart Rate. (HRmax = 220 – age) HR:est is the Resting Heart Rate. The program is to accept the HRst , age, gender of the athletic and display the type of sports that athletic is suitable for based on the following table: Age Males (VO:Max) Females (VO:Max) Sport Basketball mL/(kg min) mL/(kg min) yrs 18 - 30 40 – 60 43 – 60 Bicycling Canoeing Gymnastics Swimming 18 - 26 62 – 74 47 – 57 18 - 26 55 – 67 47 - 67 18 - 22 52 – 58 36 - 50 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.
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
Related questions
Question
Hi, need help with the pseudo code for this question and
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
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.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
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
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
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
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT