0

If I want to increment by 2 or 3 or another numer?

In case x=5; x++; How I can do?

11th Jan 2018, 6:53 PM
Pedro Hartmann
Pedro Hartmann - avatar
4 Answers
+ 4
you just do X += y where y is the value you want to add
11th Jan 2018, 6:57 PM
Vincent
Vincent - avatar
+ 5
Yeah @vincent👍👍
11th Jan 2018, 7:34 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 1
+= -= *= /=
11th Jan 2018, 10:20 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
thanks guys, You have help me
12th Jan 2018, 12:28 PM
Pedro Hartmann
Pedro Hartmann - avatar