Question: C + + Prog. 1 6 - 1 2 / / Down below will preview my error. Help please fix and display the code if
C Prog. Down below will preview my error. Help please fix and display the code if possible.
Instructions
Write a program to test various operations of the class doublyLinkedList. Your program should accept a list of integers from a user and use the doubleLinkedList class to output the following:
The list in ascending order.
The list in descending order.
The list after deleting a number.
A message indicating if a number is contained in the list.
Output of the list after using the copy constructor.
Output of the list after using the assignment operator.
An example of the program is shown below:
Enter a list of positive integers ending with :
List in ascending order:
List in descending order:
Enter item to be deleted:
List after deleting :
Enter item to be searched:
found in the list.
Testing copy constructor
intList:
Testing assignment operator
temp:
Your program should use the value to denote the end of the input list.
This is my failed output
Status: FAILED!
Check:
Test: Input output test
Reason: Unable to find sssssssssssssssss found in the list' in the program's output.
Enter a list of positive integers ending with :
List in ascending order:
List in descending order:
Enter item to be deleted: Deleted from the list.
Enter item to be searched: found in the list.
Testing copy constructor
intList:
copyList:
Testing assignment operator
intList:
temp:
Error : AssertionError Unable to find ssssss in the program's output.
Timestamp: ::
Status: FAILED!
Check:
Test: Input output test
Reason: Unable to find ssssssssssssssssssssssssssss 'The item to be deleted is not in the list', is not in the list' in the program's output.
Enter a list of positive integers ending with :
List in ascending order:
List in descending order:
Enter item to be deleted: not found in the list.
Enter item to be searched: not found in the list.
Testing copy constructor
intList:
copyList:
Testing assignment operator
intList:
temp:
Error : AssertionError Unable to find ssssssssssssss in the program's output.
Timestamp: ::
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
