+ 2
X += n
n = any normal number x += n but we can't use x =+ n Because if you use the latter, it will be presumed as x = n, but the former means x = x + n to make it easier, it is like x + moving as a whole to the other side of the equation, so x+=n would be x = x + n Thanks
1 Réponse
0
Assignment Operators:
x+= 1; is equal to x= x+ 1;
x-= 1; is equal to x= x- 1;
x*= 1; is equal to x= x* 1;
x /= 1; is equal to x= x/ 1;