// CS2310 Exercise 8 // // Name ____________________ SSN ____________________ // // Chapter 13 // p761 - 6: The SortedList::Insert function inserts items // into the list in ascending order. Rewrite it so that it // inserts items in descending order. // // SPECIFICATION FILE ARRAY-BASED LIST ( sortedlist.h ) const int MAX_LENGTH = 50; typedef int ItemType; class SortedList { public: void Insert(ItemType item); void Print(); SortedList(); SortedList(ItemType initarr[], int arrlen); private: int length; ItemType data[MAX_LENGTH]; };