Sam B.

asked • 09/20/22

Computer Programming C++

Assignment 2: SplitLists Extension of Sorted List ADT

Perform Chapter 4 Exercises 8a, 8b, and 8c using the attached Sorted List ADT code. For each version add a main program that will

  1. read in the following list of last names from a file named roster.txt into an instance of a sorted list
  2. print the sorted list
  3. use your last name to split the sorted list into two lists
  4. print the resulting lists.

Sutton

Tucker

Dumas

Waters

Elliott

Ford

Abrams

Gary

Jackson

Jones

Myers

Dorsey

Reyna

Settle

Bonaparte

Ellerby

Thomas


1 Expert Answer

By:

Amer C. answered • 10/20/25

Tutor
New to Wyzant

Learn Android Development from an Experienced Software Engineer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.