0

X+ = y

generally what does this code mean [ x+=y]... a*=b.....t/=s .....,,, etc

19th Jan 2017, 2:17 AM
Amr Monsef
Amr Monsef - avatar
2 Answers
19th Jan 2017, 2:31 AM
Potto
Potto - avatar
+ 2
it means make the mathematical operation using the two variables and store the result in the first variable. so x += y means x = x + y x *= y means x = x × y x /= y means x = x / y .. and so on.
19th Jan 2017, 2:32 AM
Mohammad Khaled
Mohammad Khaled - avatar