Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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