For each pair of such integers, find the difference between the absolute values of the two integers and allocate the sign of the bigger number to it.
Chat with our AI personalities
The answer also has the same sign.
With both positive it's positive, with both negative it's negative.
The magnitude of the answer is the difference between the two numbers and it has the sign of the integer which has the bigger magnitude. I guess so?
To add two integers with unlike signs: -- Find the difference between their sizes, ignoring their signs. -- Give the difference the sign of the integer with the larger size.
They become positive integers for instance - - 2 = 2