Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi ! We have given this problem. Im almost done it is just the last part I cannot figure out to search a string. (Note
Hi ! We have given this problem. Im almost done it is just the last part I cannot figure out to search a string. (Note : our professor has told us that you can ignore the first option to input data So we are only doing 5 options instead of 6
PROBLEM Write a program that will search soccer players data to check whether a name supplied by the user is on that more starting letters of the last name. If a matching last name is found, the program will display the player's full name and date of birth. Otherwise, it will display "Not found". Requirements specification At the start, the program will ask the user to enter information about 10 soccer players constituting soccer player data. Each soccer player data will consist of the following fields: Last name First name Birth month Birth day Birth year The user will be asked to enter each soccer player data on a separate line with the field values separated by a space. Once the data is entered, the program will display a menu of choices as below Chose an option (I- input data, 2 -display original data, 3- sort data , 4 -display sorted data 5 -search by last list. For doing the search, the user may provide either the player's full last name or one or 8 name 6-exit the program) 1-display data 2-sort data 3-display sorted data 4-search by last name 6-exit)
Everything else I have done works fine its just the searchLName function not working Please Help!!!
Here is the problem and what I have done so far.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started