Operator | Description | Example |
* | Multiplication | Result = Operand1 * Operand2; |
/ | Division | Result = Operand1 / Operand2; |
% | Modulus (remainder) | Remainder = Operand1 % Operand2; |
+ | Addition | Result = Operand1 + Operand2; |
- | Subtraction | Result = Operand1 -Operand2; |
5.2.Arithmetic Operators | ||||
5.2.1. | Common Arithmetic Operators | |||
5.2.2. | Arithmetic operators in action | |||
5.2.3. | Using the Addition operator |