Code:
cout << "The sorted list, without odd numbers, contains " << endl; displayListForward(&list); cout << "The sorted list, without odd numbers, in reverse, contains " << endl; displayListBackwards(&list); cout << "The sorted copy list contains " << endl; displayListForward(©OfList);
Leave a comment: