PRG 410 Week 5 Individual: SimpleMath OO Program

Entire Course Link


 PRG 410 Week 5 Individual: SimpleMath OO Program

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.

Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions.

Compress all your Microsoft® Visual Studio® source code files in the consoleapplication folder into a ZIP file.

Submit your assignment using the Assignment Files tab.

Powered by