Please enable JavaScript to use CodeHS

AP CSA: CON-1.B.5

CodeHS Lessons

The increment operator (++) and decrement operator (--) are used to add 1 or subtract 1 from the stored value of a variable or an array element. The new value is assigned to the variable or array element.

6.4 Compound Assignment Operators
7.4 Compound Assignment Operators
1.4 Compound Assignment Operators
4.5 Arithmetic Expressions
2.4 Arithmetic Expressions