Create a class called simpleMath – this class should have two int attributes and accessor and mutator methods to set and get those two int attributes – and a calcSum method that returns the sum of the two ints, a calcDifference method that returns the difference of the two ints, a calcProduct method that returns the product of the two ints, and a calcDivision method that returns the division result of the two ints. Also make sure to create a constructor WITH arguments.

Create a class called simpleMath – this class should have two int attributes and accessor and mutator methods to set and get those two int attributes – and a calcSum method that returns the sum of the two ints, a calcDifference method that returns the difference of the two ints, a calcProduct method that returns the product of the two ints, and a calcDivision method that returns the division result of the two ints. Also make sure to create a constructor WITH arguments.

(The order of a/b or b/2 , a-b, b-a, is up to you)

Note: Just need to create the simpleMath.h and simpleMath.cpp files not main.cpp

CIS/247 Week8
CIS247 Week 8
CIS 247 Week 8
CIS-247 Week 8

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]