Implement a stack adt by writing a class called stack use a


Question: Here is the code and the instructions were "

Implement a stack ADT by writing a class called Stack. Use a static array to hold stack elements.  Instantiate the Stack class in the main function and provide a user loop and a menu so that all the Stack class member-functions, push, pop, etc., are available so that the user can thoroughly exercise the member-functions of the Stack class.  Also, implement a ReversePrint() for the stack.  My StackProject, whose exposition I have given you, already has implemented a Print(), as well as Push() and Pop(). Also, implement a Roll() operator, which, when executed, interchanges the first two elements in an instance of the stack class.  Ask yourself the question and answer it:  what is the stack interface? Programming Assignment Two does not require very much effort. "

I am not really sure how to answer the question below. Any assistance would be appreciated.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Implement a stack adt by writing a class called stack use a
Reference No:- TGS0945027

Expected delivery within 24 Hours