(Solved):Create a program in C++ that does the following: (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… View Answer…

 

Question

Create a program in C++ that does the following:

(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 vector and the ratings in another int vector. Output these vectors (i.e., output the roster). Ex: Enter player 1’s jersey number: 84 Enter player 1’s rating: 7 Enter player 2’s jersey

Scroll to top