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

+2

Increment and Decrement Use

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

9/8/2016 9:12:04 AM

Addison

5 Answers

New Answer

+4

Loop counters for example.

+3

loop counters or ID counters

+2

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

+2

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

-4

I have no idea