Flowchart of a program that will perform the following task:
-pop(s) { remove an item/element from the top of stack }
-push(s,i) { to add an element to the top of the stack }
-empty(s) { Determine if the stack is empty or not }
-stack top(s) Determine the top element of the stack }
Comments
Leave a comment