diff --git a/calculator.cpp b/calculator.cpp index 7e4c545..a014fe5 100644 --- a/calculator.cpp +++ b/calculator.cpp @@ -10,7 +10,11 @@ int Calculator::Sub (double a, double b) return Add (a, -b); } -int Calculator::Mul (double a, double b) +int +Calculator::Mul(double a, + double b) { - return a * b + 0.5; + return a + * b + + 0.5; }