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.

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