Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started