Question: Create a program in JAVA that can for each player of a game will give the score. After ending the insert of the scores the
Create a program in JAVA that can for each player of a game will give the score.
After ending the insert of the scores the program will have the possibility to prepare a list with the scores in increasing order with the names of the players
Example:
Golfer name (press Enter to end): Jo
Score: 82
Golfer name (press Enter to end): Peter
Score: 67
Golfer name (press Enter to end): Ann
Score: 100
Golfer name (press Enter to end): Fred
Score: 32
Golfer name (press Enter to end): Eric
Score: 300
Golfer name (press Enter to end):
the final results are
List:
32: Fred
67: Peter
82: Jo
100: Ann
300: Eric
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
