0

Can you pls suggest me a code for the following:

You are creating a bowling game! The given code declares a Bowling class with its constructor and addPlayer() method. Each player of the game has a name and points, and are stored in the players HashMap. The code in main takes 3 players data as input and adds them to the game. You need to add a getWinner() method to the class, which calculates and outputs the name of the player with the maximum points. Sample Input: Dave 42 Amy 103 Rob 64 Sample Output: Amy

1st Dec 2022, 3:56 PM
Devishree
Devishree - avatar
2 Answers
+ 4
Learn lesson and complete task
1st Dec 2022, 4:31 PM
A͢J
A͢J - avatar
+ 2
Devishree Why don't you continue this...? You are half finished. Try to continue it. You can discuss here with your doubts. https://www.sololearn.com/discuss/3108652/?ref
1st Dec 2022, 6:13 PM
Jayakrishna 🇮🇳
Jayakrishna 🇮🇳 - avatar