Arithmetic operators are used to perform arithmetic between variables and/or values. Given that y=5, the table below explains the arithmetic operators:
= is used to assign values.
+ is used to add values.
The value of x, after the execution of the statements above is 7.