Question: By using the doubly linked list class provided (dobulyLinkedList.h), write a C++ code to; a. Ask the user to enter a list of positive integers

By using the doubly linked list class provided (dobulyLinkedList.h), write a C++ code to; a. Ask the user to enter a list of positive integers in ascending order ending with -999. b. Insert those positive integers into the list. c. Print the positive integers in ascending order. d. Print the positive integers in descending order. e. Ask the user to enter an item to be deleted. f. Print the list after deleting the item. g. Ask the user to enter an item to be searched. h. Print the message if the item was found in the list. Sample output: Enter a list of positive integers ending with 999 : 12345678919999 Enter item to be deleted: 5 Enter item to be searched: 3 3 found in the list. Submit the cpp file, and copy and paste the screenshot of the output here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
