#### A PHP Error was encountered

Severity: Warning

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

Filename: controllers/calculator.php

Line Number: 37

Negative Number Calculator

# Negative Number Calculator

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

#### SIGN UP FOR A FREE TRIAL

A Negative number calculator is a tool which is applied for subtraction on negative numbers.

Conditions on Negative numbers:

1. If the sign of given numbers is same, we can apply proper operation with same sign.
2. If the sign of given numbers is different, we can apply the subtraction and put the sign that is having larger number.

Example 1: Subtract given negative numbers.

-10 and -4

Solution: Given Numbers are having same symbols. Apply the Subtraction between them.

-10 – (-4) = -10 + 4    {since (-) × (-) = (+)}

= - 6

Example 2: Subtract 9 form negative 5.

Solution:  We have to subtract the number 9 form -5

-5 - (+9) = -5 - 9    {since (-) × (+) = (-)}

= -14