Introduction - If you have any usage issues, please Google them yourself
1. The basic operating order of the stack (initialization, judge the stack is empty, judgment, into the stack and the stack).
1) the keyboard input of a series of integers, when the input value is 0, stop input, generate stack sequence.
2) to achieve stack operation, the input to the value of the stack in the stack is successful, according to stack success! Show stack failure! And state the reason for the failure.
3) to implement the stack operation, such as the stack is successful, according to the stack success! Display stack failed! And state the reason for the failure.
4) order element in turn out in the stack, and display.
2. Realize the basic operations of a circular queue (initialization, judgment, empty, judgment, team, team, a full team).
1) the keyboard input of a series of integers, when the input value is 0, stop ;