183k views
2 votes
How do you subtract 1 integer by another

User Yogi Joshi
by
7.0k points

2 Answers

5 votes
copy of my notes to carry in ur folder

ignore the marks
How do you subtract 1 integer by another-example-1
User Riccardo Cossu
by
6.8k points
5 votes
Use absolute value. If both signs are negative you will get a negative number. if both are positive you get positive. if the signs are different, subtract the smaller absolute value from the larger absolute value.
User Ji Ra
by
7.0k points