Expert answer:Using Object-Oriented Programming (OOP), design a base class, Simplemath, with the following derived classes within: Addition, Subtraction, Division, Multiplication. The user should have the option (e.g., switch statement, if statement, if else statement, nested statements) to choose which calculation he or she prefers to use. Once a selection is made, the user should be able to input as many calculations as he or she wishes until done, with all totals given as an output prior to exiting the program. Create an array for the numbers users input to be stored.I have started the program, now I am stuck and can not figure out where to go from here.
410wk5solo.zip

Unformatted Attachment Preview


Purchase answer to see full
attachment