Question: Design and implement a program to process golf scores. The scores of four golfers are stored in a text file. Each line represents one hole,
Design and implement a program to process golf scores. The scores of four golfers are stored in a text file. Each line represents one hole, and the file contains 18 lines. Each line contains five values: par for the hole followed by the number of trokes each golfer used on that hole. Store the totals for par and the players in an ArrayList. Determine the winner and produce a table showing how well each golfer did (compared to par)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
