JAVA
This program will store roster and rating information for asoccer team. Coaches rate players during tryouts to ensure abalanced team.
(1) Prompt the user to input five pairs of numbers: A player’sjersey number (0 – 99) and the player’s rating (1 – 9). Store thejersey numbers in one int array and the ratings in another intarray. Output these arrays (i.e., output the roster). (4 pts)
Ex:
Enter player 1’s jersey number:84Enter player 1’s rating:7Enter player 2’s jersey number:23Enter player 2’s rating:4Enter player 3’s jersey number:4Enter player 3’s rating:5Enter player 4’s jersey number:30Enter player 4’s rating:2Enter player 5’s jersey number:66Enter player 5’s rating:9ROSTERPlayer 1
OR
OR