0

can anyone explain this topic: += or -=

11th Apr 2020, 10:45 AM
Sa'ad Ali
Sa'ad Ali - avatar
3 Antworten
+ 2
it is a short form of: a = a+1 which is equivalent to a+=1
11th Apr 2020, 10:47 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
This is shorthand notation.for a=a+2 is same as a+=2
11th Apr 2020, 10:48 AM
Muhammad Bilal
Muhammad Bilal - avatar
0
thanks for explaining guys
11th Apr 2020, 10:49 AM
Sa'ad Ali
Sa'ad Ali - avatar