Inlab 4: Golf League

Due: Friday 12 February at 6:00 pm

Purpose

Partners

This is an individual assignment, though collaboration (not solution sharing) is allowed.

Problem Statement

You will build a program that represents golf teams. To do this, you need two classes. The Player class will represent a golfer and the Team class will represent a golf team. A Player will consist of a name, the number of rounds of golf played, and the total number of shots or score for all of the rounds. A Team will consist of four (exactly four) Players and a team name. You will then build methods that will calculate the round average of the individual players and the overall team. NOTE: Round Average = score / numRounds.

Assignment

Submission

By Friday evening at 6:00 pm, submit the files Player.java, and Team.java into the appropriate D2L dropbox folder. DO NOT SUBMIT .class files.

Grading - 10 points