12345678910111213141516171819 |
- #include <iostream>
- #include "mathFunction.h"
- double MyMath::div(double a, double b)
- {
- return a / b;
- }
- int MyMath::sum(int a, int b)
- {
- return a + b;
- }
- double MyMath::multiply(double a, double b)
- {
- return a * b;
- }
- double MyMath::dif(double a, double b)
- {
- return a - b;
- }
|