![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 01.10.2019 03:30 yuppcami9929
This program will store roster and rating information for a basketball team. coaches rate players during tryouts to ensure a balanced team. a roster can include at most 10 players.
(1) prompt the user to input five pairs of numbers: a player's jersey number (0 - 99) and the player's rating (1 - 9). store the jersey numbers in one int array and the ratings in another int array. output these arrays (i. e., output the roster).
ex:
(2) implement a menu of options for a user to modify the roster. each option is represented by a single character. the program initially outputs the menu, and outputs the menu after a user chooses an option. the program ends when the user chooses the option to quit.
ex:
(3) implement the "output roster" menu option.
ex:
(4) implement the "add player" menu option. if the user chooses this option and the roster is full, print the following error message:
if the roster is not full, prompt the user for a new player's jersey number and rating, and append the values to the two arrays.
ex:
(5) implement the "delete player" menu option. if the user chooses the option when the roster is empty, immediately print the message:
if the roster is not empty, prompt the user for a player's jersey number. remove the player from the roster (delete the jersey number and rating), paying attention not to leave unused spaces in the two arrays.
ex:
if the given jersey number is not found, inform the user:
(6) implement the "update player rating" menu option. prompt the user for a player's jersey number. prompt again for a new rating for the player, and then look up and change that player's rating.
ex:
in this case, if the given jersey number is not found, no further action is taken (note that the format of the program requires both input either way).
(7) implement the "output players above a rating" menu option. prompt the user for a rating. print the jersey number and rating for all players with ratings above the entered value.
ex:
if no players are found above a given rating, the program will simply produce an empty list.
bonus
for an extra 10 points, implement a secret option s that prints the message:
and sorts the roster by jersey number. do not add this option to the menu message. and remember to move the player rating accordingly!
i need with my hw its in c++. it also asking for an input.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 17:30, vanvalenpeyt
Kim is creating a one-page presentation in word about her parents’ home country, vietnam. she has inserted images that are each mostly yellow or mostly red, because these are the colors of the vietnamese flag. however, she would like to make the images each appear even more yellow or red. in other words, she would like to keep the same colors in the pictures, but increase the amount of color in each image. to do this, kim should double-click on an image, click on the color tool, and then click on an option shown under color
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 18:30, tomtom6870
When a relationship is specified, related records will be displayed in a form's a. column. b. datasheet. c. table. d. subdatasheet.
Answers: 1
You know the right answer?
This program will store roster and rating information for a basketball team. coaches rate players du...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 20:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 20:40
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 20:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 20:40