Ask you to add some function members to one of the Stack classes in this section. You may use either of the array-based implementations-the static array version or the dynamic array version.
Proceed as in Exercise 6, but design a function nth Element () to retrieve the nth stack element (counting from the top), leaving the stack without its top n elements.
Exercise 6,
Ask you to add some function members to one of the Stack classes in this section. You may use either of the array-based implementations-the static array version or the dynamic array version.
Write documentation, a prototype, and a definition for a member function bottom () for the Stack class that returns the bottom element of the stack.