Arithmetic operators

Programming languages such as Java, C++, and C# typically support the five arithmetic operators shown in Figure 1.

Figure 1. Arithmetic operators.
Operator    Description                
   
   +        Adds its operands
   -        Subtracts the right operand
            from the left operand
   *        Multiplies the operands 
   /        Divides the left operand by
            the right operand
   %        Remainder of dividing the 
            left operand by the right 
            operand - modulus operator