So I need help using classes to build a calculator class with the same functionality as the following calculator, but having the functions embedded with an object class. Any help would be greatly appreciated.
Also, remove either the j or i variable in main, theyre both the same throughout the whole function, you only need one, and itll make your code look a bit cleaner
3rd, what do you want your class to contain, just the numbers youre working with, or also the functions?
I need both the i and j otherwise my program will not properly execute. I would like the class to contain the functions and i thought that void (i, j) is needed to declare the class