![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
In integer, when we have the same numbers and different sign then what we can do [+/-]?
Rules of integers for addition and subtraction
1) If the two numbers have a different sign like positive and negative then subtract the two numbers and give the sign of the bigger number.
Eg: $17 - 8 = + 9; -12 + 5 = -7$
2) If the two numbers have the same sign i.e. either positive or negative signs then add the two numbers and give the common sign.
Eg: $6 + 9 = 15; -8 - 7 = -15$
Integer Multiplication
$ + x + = + Eg: +2 x +3 = +6$
$+ x - = - Eg: +2 x - 3 = - 6$
$- x + = - Eg: - 2 x +3 = - 6$
$- x - = + Eg: -2 x -3 = +6$
Integer Division
$ + / + = + Eg: +6 / +3 = +2 $
$+ / - = - Eg: +6 / - 3 = - 2$
$- / + = - Eg: - 6 / +3 = - 2$
$- / - = + Eg: -6 x -3 = + 2$