New course! Every coder should learn Generative AI!
Try a free lesson+ 10
It simply is a shorthand notation of Sum=Sum+x;
0
increment x to.sum
0
Sum+=x is a shorthand of Sum = Sum + x;
0
sum+=x is shorthand of sum=sum+x
0
it's sum=sum+x
0
sum=sum+x
0
sum = sum + x
is exactly same to ...
sum+ = x
like
x+ =1
is equal to
x = x+1