Answered step by step
Verified Expert Solution
Link Copied!

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 program.1.Insert every record read from a data file into the contiguous list (record_list) 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. 2.Print the content of the list using the following format for each record.Last Name: First Name: Code:3.Use sequential search to look for a record in the list based on user-specified first and last names. Display the record using the same format as that of Item 2(see above). If the record is not found, display Not found. USE C++
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions