1.5 Compound Assignment Operators
-
Incorrect
Correct
No Answer was selected
Invalid Answer
Vocabulary
| Term | Definition |
|---|---|
| Increment | Increase the value of a variable by one. variable++; |
| Decrement | Decrease the value of a variable by one. variable--; |
| Compound Assignment Operators | Allows programmers to shortcut variable assignments that include the variable being assigned a new value: x = x + y; shortcut: x += y; |