#include #include "ListClass.h" // testll2.cpp // 11.7.98 // G. Volger // Test program to test ordered linked list class (templated) const int MAX = 5; int main () { List theList; int num; cout << "Testing template ordered linked list class\n" << endl; cout << "Enter " << MAX << " integers" << endl; for (int i = 0; i < MAX; i++) { cout << "Number " << i+1 << ": "; cin >> num; theList.Insert(num); } cout << "\n\nYour " << MAX << " integers in order are:" << endl; while (!theList.isEmpty()) { theList.Remove(num); cout << num << " "; } cout << endl; return 0; }