Variants of assignment operator

Earlier in the chapter, you learned about the assignment operator, =. Now, we will see some more variants of the assignment operator, often used in combination with arithmetic operators:

Here, we will look at a few examples of the variants of the assignment operator: