C++ programming Write a program that will search soccer players data
C++ programming Write a program that will search soccer players data
PROBLEM
Write a program that will search soccer players data to check whether a
name supplied by the user is
on that list. For doing the search, the user may provide either the player
’
s full last name or one or
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 socc
er 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 lin
e 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:
(1
–
input data, 2
–
display original data, 3
–
sort data , 4
–
display sorted data 5
–
search by last
name 6
–
exit the program )
If the user chooses option 1, the program will ask the user for a data and populat
e the array of
structures that will hold the data for each of the soccer players.
If the user chooses option 2, the program will display data in the order provided by the
user (original
data).
If use chooses option 3, the program will sort data by last name.
Using Code Block please. and take screenshot of the output and put the code and the code in to a word file. Make sure it is working for each part. Using simple code. Not to complex ones.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


