07-14-2003, 06:36 AM
i didn't implement subtraction.
Anyways, subtraction is just the same as adding a negative number. It's easier for computers. Maybe.
Anyways, why is one method harder than the second?
10000 - 999 = 10000 - 1000 + 1 = 9001.
However, my silly program says:
(10000 - 999)
(10000 - (990 + 9))
(10000 - (990 + 3 * 3))
(10000 - (165 * 6 + 3 * 3))
(10000 - (165 * 6 + 9))
(10000 - (990 + 9))
(10000 - 999)
9001
Anyways, subtraction is just the same as adding a negative number. It's easier for computers. Maybe.
Anyways, why is one method harder than the second?
10000 - 999 = 10000 - 1000 + 1 = 9001.
However, my silly program says:
(10000 - 999)
(10000 - (990 + 9))
(10000 - (990 + 3 * 3))
(10000 - (165 * 6 + 3 * 3))
(10000 - (165 * 6 + 9))
(10000 - (990 + 9))
(10000 - 999)
9001
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Visit www.neobasic.net to see rubbish in all its finest.