Actually, this can be done in two ways:
int a = 5, b = 10;
Using addition (+) and subtraction (-)
a = a + b; b = a - b; a = a - b;
Using multiple (*) and sections (/)
a = a * b; b = a / b; a = a / b;
Pankaj Lilan Feb 17 '17 at 5:07 on 2017-02-17 05:07
source share