Instruction
1. Description: The assignment for this week is going to use the textbook programming challenge proposed as a base. In the textbook, you will find the implementation for the class MathStack (files .h, .cpp and a drive program at the pgs 1173 to 1175 -attached here). The textbook's author demonstrated the used of the basic Stacks operations using the version for a static stack of integer called IntStack (IntStack.h and IntStack.cpp pgs 1168 and 1169 - also attached here), so using it the author builds the class MathStack to create a calculator and set up the member functions ADD() and SUB() to provide the addition and subtraction of two integer numbers. In this assignment it is your job to implement the missing member functions MULT(), DIV() and MOD() to complete the MathStack class, e.g., you will create the code to make the multiplication, and the division operations to hold the quotient and the remainder of two integer numbers. You ARE NOT ALLOWED TO CHANGE anything in the files IntStack.h and IntStack.cpp. You should update the files for MathStack class and the driver program, to include an interface that gives the user a menu with 6 options: one option to each calculator operation (add, sub, mult, div, and mod) and an option to exit the program.
2. The answer to this assignment: upload the updated versions of the MathStack classes (.h and .cpp) as well as the updated version of the driver program (.cpp). Your updated files MUST compile using the original IntStack classes.