Write code for a LIFO stack that allows the user to add and remove elements, including overflow and underflow detection.
Anonymous
I wrote C++ code on a whiteboard and discussed with the group how to make my stack class, and I wrote pop and push functions that accounted for overflow.
Check out your Company Bowl for anonymous work chats.