Question: PLEASE help learn.zybooks.com + + D PROGRAMMING AS... Zy Section 10.17 - CS... C Campuswire CS010A Winter 202 CS10A Winter 2021. C This Program Will
PLEASE help



learn.zybooks.com + + D PROGRAMMING AS... Zy Section 10.17 - CS... C Campuswire CS010A Winter 202 CS10A Winter 2021. C This Program Will S... C This Program Will S... C Get Homewark Hel = zyBooks My library > CS 0104: Introduction to Computer Science for Science, Mathematics & Engineering I home> 10.17: PROGRAM 2: Using Vectors and Functions ryBooks Catalog Help/FAQ Emily Garcia 10.17 PROGRAM 2: Using Vectors and Functions Part 1: Complete the survey. Part 2 This program will store rester and rating information for a soccer team. Coaches rate players curing tryouts to ensure a belarced team (1) Prompt the user to input five pairs of numbers: A player's jersey number 10-99) and the player's rating 1-9). Store the jersey numbers in one in vector and the ratings in another in vector Omul these vectorie.cul put the router) Enter player is jorny number 19 Erter player 1's -ing: 7 Enter player 2'5 jaray number: Erter player 2: wing: Erter player 3's arsey umber: 4. Erter player 3: Erster player l'urbey umber: Erler player 4.2.10 2 Erster player s'y rey number: 66 Erter player S9 ang! 9 ROSIER Player 1 -- Jersey number: 64, Rating: 7 Player 2 -- Jersey number: 23, Rating: 4 (2) Implement a menu of options for a user to modify the rester. Each otion is represented by a single character. Following the initial 5 players' input and rester cutout the program cutouts the menu. The program should also output the menu again after a user chooses an cpton. The program ends when the user chooses the option to Quit. For this step, the other options do nothing. learn.zybooks.com + + D PROGRAMMING AS... Zy Section 10.17 - CS... Campuswire CS010A Winter 202... = CS10A Winter 2021.. This Program Will S... C This Program Will S. C Get Homewark Hel = zyBooks My library > CS 0104: Introduction to Computer Science for Science, Mathematics & Engineering I home> 10.17: PROGRAM 2: Using Vectors and Functions ryBooks Catalog Help/FAQ Emily Garcia (2) Implement a menu of options for a user to modify the roster. Each option is represented by a single character. Following the initial 5 players' input and roster cutput, the program cutouts the menu. The program should E 30 output the menu again after a user chooses an cption. The program ends when the user chooses the option to Quit. For this step the other options do notning EX MEND a - Add player d - Remove player - Dpdate player yang - Culput players above a reling O - Dutput roster Choose an op.10: (3; Implement the "Outout rester menu option Be sure to write a separate function for each menu option TOSTRR Player 1 -- Jersey number: 61, Rating: 7 Player 2 -- Jersey number 23, Rating: 4 Implement the Add player" menu option. Prompt the user for a new payer's jersey number and rating Apperd the values to the two Enter another players Ceny nur: 45 Erter ancther player's rating: (5) Implement the Delete player" menu option. From the user for a player's jersey number. Remove the player from the roster delete the jersey number and rating, Be sure to keep the same relative order of al values in the vectors Erter a Orny humor: Implement the Upcate player rating' menu option. Frompt the user for a player's jersey number. Prompt again for a new rating for the player, and then change that player's rating learn.zybooks.com + + D PROGRAMMING AS... Zy Section 10.17 - CS... Campuswire CS010A Winter 202 CS10A Winter 2021. This Program Will S... C This Program Will S. C Get Homewark Hel = zyBooks My library > CS 0104: Introduction to Computer Science for Science, Mathematics & Engineering I home> 10.17: PROGRAM 2: Using Vectors and Functions ryBooks Catalog Help/FAQ Emily Garcia EX Enter a Jersey number: (6) Implement the update player rating' menu option. Prompt the user for a players jersey number Prompt again for a new rating for the player, and then change that player's rating. EX Enter a jersey number 23 Enter a new rating for players 6 Implement the Outout players above a ratings menu option. Prompt the user for a reting. Print the jersey number and rating for all players with ratings above the red value Enter a rating 5 FOUR Player 1 -- Jersey number: 61, Kating: 7 290941/1/4/Academy LAB ACTIVITY 10.17.1: PROCRAM 2: Using Vectors ard Functions 5/17 main.cpp Load default template... 5 Hethod for add player 6 Possing userJersey and user Rating Arrays 7 Possing Nur Jersey for note total players & Passic filleSize os refrence for change total added player count 18 void accint userJersey, int user Rating[], int NM.JERSEY, int SilledSize) { if(filledSize NIMLJERSEY){ // List is Full cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
