how can i create a program that provides 3 types of data structures: linked list, stack and queue.which my program will provide a menu that a user can choose whether to use a linked list, stack or queue.
Example of output:
Main Menu
1. Linked list
2. Stack
3. Queue
4. Exit
Enter your choice:
Linked list Menu
1. Insert a number
2. Remove a number
3. Display the list of number in a descending order
4. Back to the main menu
Stack Menu
1. Insert a variable’s address
2. Remove the address
3. Display the Memory stack
4. Back to the main menu
Queue Menu
1. Insert a printer’s id and location
2. Remove one record
3. Display the records
4. Back to the main menu