Question: In C++ Write a program that creates a linked list that holds 100 numbers. Create a menu and add the following functionalities to your program:

In C++

Write a program that creates a linked list that holds 100 numbers. Create a menu and add the following functionalities to your program:

1. Displaying everything in your linked list

2. remove an item from the linked list

3. Adding a number to the linked list

4. Destroy the linked list Use the following

Use the following structure:

struct ListNode

{

int data;

ListNode *next;

ListNode(int d, ListNode* p=NULL)

{data = d; next = p;}

};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!