Perform sequence of stack operations and display stack after each operation.
Anonymous
There were sequence of push and pop operations and I showed the output after perform every push and pop using last in first out property of stack.
Check out your Company Bowl for anonymous work chats.