| operator |
Meaning |
| x+=y |
x=x+y |
| x-=y |
x=x-y |
| x*=y |
x=x*y |
| x/=y |
x=x/y |
| x%=y |
x=x%y supplies the remainder-value
of a division |
| x++ |
x=x+1 |
| x-- |
x=x-1 |
| y=x++ |
x = x and then increments it by
1 |
| y=++x |
x increments
by 1 and afterwards y =x |
| y=x-- |
y =x and afterwards x decrements
by 1 |
| y=--x |
x decements by 1 and afterwards
y=x |
| -x |
x =-x |
| && |
logical and |
| || |
logical or |
| ! |
logical not |
| == |
Comparison operator "is equal" |
| != |
Comparison operator "is not
equal" |
| > |
Comparison operator "greater
than" |
| < |
Comparison operator "less than" |
| >= |
Comparison operator "greater
than or equal to" |
| <= |
Comparison operator "less than
or equal to" |