0

Increment x++ add more than 1

is ot possible to use this function and add other value than 1?

23rd Nov 2016, 7:00 AM
Rocket Master Yoda
Rocket Master Yoda - avatar
3 Answers
+ 6
There is not. However, there is another shorthand that can do that, +=. Ex: x += 2 There's also variants for subtraction, multiplication, and division.
23rd Nov 2016, 7:53 AM
Tamra
Tamra - avatar
+ 2
It can.if you repeat it,lol Ha ha If answer in real is not but you can add more by using 'for' 'while' 'do...while' loop or just repeat it by yourself
23rd Nov 2016, 12:27 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
thanks! answer was way simpler than i imagined at the beginning :)
23rd Nov 2016, 5:46 PM
Rocket Master Yoda
Rocket Master Yoda - avatar