Question: Must be in C++ language. HW 3b Array-based SortedList Write a program that uses a SortedList class to manage a sorted list of numbers. The

 Must be in C++ language. HW 3b Array-based SortedList Write a

Must be in C++ language.

HW 3b Array-based SortedList Write a program that uses a SortedList class to manage a sorted list of numbers. The list will hold up to 10 integers. The numbers are sorted in ascending order (low to high). When the list is initially created, it will be empty. Numbers can be inserted into the list (as long as the list is not full). Numbers can be deleted from the list (as long as the list is not empty). One of the data members of the class is an array that will be used to hold - - - the numbers. Project: HW_3b 3 Files: SortedList.h SortedLIst.cpp main.cpp Note: Comparing the UnsortedList to the SortedList, only the insertltem and deleteltem methods are different. Therefore, copy and paste your code from HW_4a, and make changes to the insertltem and deleteltem methods. Include code to do a linear search for the insertItem method. Include code to do a binary search for the deleteltem method

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!