Arithmetic Operators
Assignment Operators
1. Simple Assignment Operator: The Simple Assignment
Operator is used with the “=” sign where the left side consists
of the operand and the right side consists of a value. The value
of the right side must be of the same data type that has been
defined on the left side.
2. Compound Assignment Operator: The Compound Operator
is used where +,-,*, and / is used along with the = operator.
Arithmetic Compound Assignment Operators
This version uses the += compound assignment operator.
Increment and Decrement
These operators are unique in that they can appear both in
postfix form where they follow the operand as just shown,
and prefix form, where they precede the operand
Relational Operators
Conditional Operator
Boolean Logical Operators
Output-