Jump to content

Programmed Math/Subtraction

From Wikibooks, open books for an open world

Prerequisites: Addition

Subtraction deals with the taking away of numbers, like number a from number b so that: a >= b while b > a. Such a case is with:

.

a = 36 and b = 5.

So a — b = 36—5 = 31, a >= b is true.

a>=b, like .

But b>a, for example : .

a = 36 and b = 55.

.

Subtraction is the inverse of addition, meaning that it is the opposite.

,