Question: PROBLEMWrite a program that will search soccer playersdata to check whether a name supplied by the user ison that list. For doing the search, the
PROBLEMWrite a program that will search soccer playersdata to check whether a name supplied by the user ison that list. For doing the search, the user may provide either the players full last name or one ormore starting letters of the last name. If a matching last name is found, the program will display theplayers full name and date of birth. Otherwise, it will display Not foundRequirements specification:At the start, the program will ask the user to enter information about soccer players constitutingsoccer player data. Each soccer player datawill consist of the following fields:Last nameFirst nameBirth monthBirth dayBirth yearThe user will be asked to enter each soccer player data on a separate line with the field valuesseparated by a space.Once the data is entered, the programwill display a menu of choices as below:Chose an option:input data, display original data, sort data display sorted data search by lastname exit the program If the user chooses option the program will ask the user fora data and populate the array ofstructures that will hold the data for each of the soccer players.If the user chooses option the program will display data in the order provided by the user originaldataIf use chooses option the program willsort data by last name.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
