Question: You are required to use the contiguous list implementation and the main program provided above. The following functions should be implemented in the program .
You are required to use the contiguous list implementation and the main program provided above. The following functions should be implemented in the programInsert every record read from a data file into the contiguous list recordlist declared in main.cpp in ascending alphabetical order based on the last name of the record. For records with the same last name, break the tie using the first name. If a record already exists with the same first and last name in the list, the new record should be discarded instead of being inserted into the list. Print the content of the list using the following format for each record.Last Name: First Name: Code:Use sequential search to look for a record in the list based on userspecified first and last names. Display the record using the same format as that of Item see above If the record is not found, display Not found. USE C
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
