Increment and Decrement Use | Sololearn: Learn to code for FREE!


Increment and Decrement Use

Curious of the benefit of this command of just adding or subtracting 1?

9/8/2016 9:12:04 AM


5 Answers

New Answer


Loop counters for example.


loop counters or ID counters


Counting stuff. If you want a program that uses a progress bar that counts from 0-100 you use it.


Animations, for example moving a car across the screen or bouncing a ball. Check out ProcessingJs.


I have no idea