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
Get step-by-step solutions from verified subject matter experts
