Question: Please type out main.cpp Write a program to test various operations of the class doublyLinkedList. Your program should accept a list of integers from a
Please type out main.cpp
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.ttttTesting copy constructorttintList: Testing assignment operator temp: Your program should use the value to denote the end of the input list.
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
