Write a program that will help a Little League coach keep track of the players on the team. Use an ArrayList of Strings to store the names of the players. Give the coach the following menu of options: 1) add a player, 2) display a list of players, 3) display the number of players on the team, 4) remove a player, 5) choose and display a random player, 6) end the program. Write the code to perform whatever option the coach chooses. Loop the program so that the coach can repeatedly choose options from the menu until they choose to end the program.
Write a program that will help a Little League coach keep track of the players on the team. Use an ArrayList of Strings to store the names of the players. Give the coach the following menu of options: 1) add a player, 2) display a list of players, 3) display the number of players on the team, 4) remove a player, 5) choose and display a random player, 6) end the program. Write the code to perform whatever option the coach chooses. Loop the program so that the coach can repeatedly choose options from the menu until they choose to end the program.
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 1PE
Related questions
Question
I'm completely confused and don't even know where to begin.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,