C++
Carefully review Program 19-2 in your textbook,MathStack. This is a static stack, meaning that the sizeof the stack is set at the beginning of the program (see line 11):MathStack stack(5).
I would like you to modify this program as follows:
1. Implement it as a dynamic stack (do not use a staticstack as it is designed in the book). Use a linked list toimplement this. There’s code in the book.
2. Add functionality for Mult, Div, Pop, and Display.
3. Create a looping menu-driven program to demonstrate your codeso that the user has the choice of:
– a. Push (an integer onto the stack)
– b.
PayPal Gateway not configured
PayPal Gateway not configured