c++ program for Queue using a linked list



Queue using a linked list





OUTPUT:

1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 1

 Enter no of nodes : 4

 Next Data : 1

 Next Data : 2

 Next Data : 3

 Next Data : 4


1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 2

 Data stored in the linked list :   1  2  3  4

1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 3
Enter the data  :5


1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 2

 Data stored in the linked list :   1  2  3  4  5

1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 4
Deleted Data = 1

1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 2

 Data stored in the linked list :   2  3  4  5

1)Create
2)Print
3)insert
4)Delete
5)Quit
Enter your Choice : 5