Page 620 - Computer science 868 Class 12
P. 620
y
Main Menu
Press 1 to Push Item To Stack
Press 2 to Pop Item Out of Stack
Press 3 to Display Items of Stack
Enter Choice: 1
Enter A Number to Push: 5
Do you want to Continue?(y/n)
y
Main Menu
Press 1 to Push Item To Stack
Press 2 to Pop Item Out of Stack
Press 3 to Display Items of Stack
Enter Choice: 1
Enter A Number to Push: 1
ERROR: Stack Overflow
Do you want to Continue?(y/n)
y
Main Menu
Press 1 to Push Item To Stack
Press 2 to Pop Item Out of Stack
Press 3 to Display Items of Stack
Enter Choice: 2
Element 5 is Popped from the Stack
Do you want to Continue?(y/n)
y
Main Menu
Press 1 to Push Item To Stack
Press 2 to Pop Item Out of Stack
Press 3 to Display Items of Stack
Enter Choice: 3
STACK
99 |
Do you want to Continue?(y/n)
n
Thank You
618618 Touchpad Computer Science-XII

