forked from Vatsalparsaniya/Data-Structure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimple_Queue_Output.txt
More file actions
82 lines (79 loc) · 2.24 KB
/
Copy pathSimple_Queue_Output.txt
File metadata and controls
82 lines (79 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
1) insert element
2) delete element
3) display queue
4) exit
enter your choice : 1
enter a number which you want to add in queue:155
element 155 is successfully added
enter your choice : 1
enter a number which you want to add in queue:34
element 34 is successfully added
enter your choice : 3
you chose display option
155 | 34 | 0 | 0 | 0 | 0 |
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 3
you chose display option
0 | 34 | 0 | 0 | 0 | 0 |
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 3
you chose display option
0 | 0 | 0 | 0 | 0 | 0 |
enter your choice : 1
enter a number which you want to add in queue:27
element 27 is successfully added
enter your choice : 1
enter a number which you want to add in queue:65
element 65 is successfully added
enter your choice : 1
enter a number which you want to add in queue:87
element 87 is successfully added
enter your choice : 1
enter a number which you want to add in queue:32
element 32 is successfully added
enter your choice : 3
you chose display option
27 | 65 | 87 | 32 | 0 | 0 |
enter your choice : 1
enter a number which you want to add in queue:98
element 98 is successfully added
enter your choice : 1
enter a number which you want to add in queue:185
element 185 is successfully added
enter your choice : 3
you chose display option
27 | 65 | 87 | 32 | 98 | 185 |
enter your choice : 1
enter a number which you want to add in queue:188
sorry!!
queue is full
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
element successfully delete
enter your choice : 2
you chose delete option
Error!!
Underflow condition
enter your choice : 4
I hope u enjoy this program
Process returned 0 (0x0) execution time : 106.070 s
Press any key to continue.