Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

When -10 is added to -5, it can be represented as -10 + (-5)

Now we have to distribute the “+” sign present in the middle to the inside of (-5).

-10 – 5

Now since we have two negatives numbers being subtracted in this way, the result will be the addition of the two numbers but with a negative sign!

To calculate the above expression, we have to first find the result of the numbers in the parenthesis!

So we have (-2 * -6) Two negative numbers are being multiplied.

-2 * -6 = +12 or 12

Now (12) – 4 = 12 – 4

12 and 4 are being subtracted!