Question: For this project, you will be creating a application to calculate a simplified golfhandicap. In order to keep things simple, the score differential will be

 For this project, you will be creating a application to calculate

a simplified golfhandicap. In order to keep things simple, the score differential

For this project, you will be creating a application to calculate a simplified golfhandicap. In order to keep things simple, the score differential will be calculated based on a default par score of72 and will NOT take into account the course slope and rating. The simplified handicap differential is calculated according to the following formula: differential-score 72 The handicap is then calculated using the average of the best (lowest) 10 differentials from the players past 20 total rounds, multiplied by 0.96. Any digits in the handicap after the tenths are truncated (not rounded). handicap (sum of differentials umber of differentials) *0.96 If a golfer has at least 5 but fewer than 20 Number of mounds Differentials to use rounds posted, the handicap is calculated using one to nine differentials according to the schedule shown: or 12 lowest 4 13 or 14 lowest 5 15 or 16 lowest 6 lowest 8 lowest 90 Requirements Develop a console application with a command menu interface to support the following: l. Request a user name on program start (20 pts) a. Initialize to cleared default data ifno user name provided b. Clear all data for new user (no previously saved data found) c. Retrieve any previously saved data for the user 2. 'Add' scores (30 pts) a. Maintain 20 most recent scores b. Discard oldest score for each new entry beyond 20 c. Calculate handicap (see formula above) d. Maintain current, highest and lowest handicap 3. "Clear" data (10 pts) a. Remove all scores b. Initialize handicap values 4. List' score and handicap data (20 pts) a. List most recent (20 max) in the order entered b. Visually identify scores used for handicap calculation -i.e surround with 0 c. Display highest, lowest and current handicap 5. User change to load data for different user (same behavior as #1)(10 pts) 6. "Exit/Quit' program (10 pts) a. Save all data (including scores) for the current user and exit b. Quit program without saving user data For this project, you will be creating a application to calculate a simplified golfhandicap. In order to keep things simple, the score differential will be calculated based on a default par score of72 and will NOT take into account the course slope and rating. The simplified handicap differential is calculated according to the following formula: differential-score 72 The handicap is then calculated using the average of the best (lowest) 10 differentials from the players past 20 total rounds, multiplied by 0.96. Any digits in the handicap after the tenths are truncated (not rounded). handicap (sum of differentials umber of differentials) *0.96 If a golfer has at least 5 but fewer than 20 Number of mounds Differentials to use rounds posted, the handicap is calculated using one to nine differentials according to the schedule shown: or 12 lowest 4 13 or 14 lowest 5 15 or 16 lowest 6 lowest 8 lowest 90 Requirements Develop a console application with a command menu interface to support the following: l. Request a user name on program start (20 pts) a. Initialize to cleared default data ifno user name provided b. Clear all data for new user (no previously saved data found) c. Retrieve any previously saved data for the user 2. 'Add' scores (30 pts) a. Maintain 20 most recent scores b. Discard oldest score for each new entry beyond 20 c. Calculate handicap (see formula above) d. Maintain current, highest and lowest handicap 3. "Clear" data (10 pts) a. Remove all scores b. Initialize handicap values 4. List' score and handicap data (20 pts) a. List most recent (20 max) in the order entered b. Visually identify scores used for handicap calculation -i.e surround with 0 c. Display highest, lowest and current handicap 5. User change to load data for different user (same behavior as #1)(10 pts) 6. "Exit/Quit' program (10 pts) a. Save all data (including scores) for the current user and exit b. Quit program without saving user data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!