Problem

Write a program that manages a list of up to ten players and their high scores in the comp...

Write a program that manages a list of up to ten players and their high scores in the computer’s memory (not on disk as in Programming Project 18). Use two arrays to manage the list. One array should store the player’s name, and the other array should store the player’s high score. Use the index of the arrays to correlate the names with the scores. In the next chapter you will learn a different way to organize related data by putting them into a struct or class. Do not use a struct or class for this program. Your program should support the following features:

a. Add a new player and score (up to ten players).

b. Print all player names and their scores to the screen.

c. Allow the user to enter a player name and output that player’s score or a mes­sage if the player name has not been entered.

d. Allow the user to enter a player name and remove the player from the list. Create a menu system that allows the user to select which option to invoke.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 5