LO 1.6.A — Develop code for assignment statements with compound assignment operators and determine the value that is stored in the variable as a result.
1.6.A.1 — Compound assignment operators +=, -=, *=, /=, and %= can be used in place of the assignment operator in numeric expressions. A compound assignment operator performs the indicated arithmetic operation between the value on the left and the value on the right and then assigns the result to the variable on the left.
1.6.A.2 — The post-increment operator ++ and post-decrement operator -- are used to add 1 or subtract 1 from the stored value of a numeric variable. The new value is assigned to the variable.
❌ EXCLUSION — The use of increment and decrement operators in prefix form (e.g., ++x) is outside scope. The use of increment and decrement operators inside other expressions (e.g., arr[x++]) is outside scope.