+ 2

what does total += number; mean?

help

8th Aug 2017, 1:09 AM
Jeancarlo Espinal
Jeancarlo Espinal - avatar
3 Respuestas
+ 3
a += b exactly is the same as : a = a + b It increases a by b.
8th Aug 2017, 1:30 AM
Aymen Saidi
Aymen Saidi - avatar
+ 1
a += b == a = a + b
10th Aug 2017, 11:21 AM
Jod Louis
Jod Louis - avatar
0
suppose it's written a+=b then it means a=a+b
8th Aug 2017, 2:52 AM
shaikh hamza
shaikh hamza - avatar