- Arithmetic operators are used to perform mathematical operations.
- Such as addition, subtraction, division and multiplication etc.
- Arithmetic operators are of 5 types. These are basic mathematical operators.
Operators | Description |
+ (Addition) | This operator adds values of two variables. |
– (Subtraction) | This operator subtract the value of one variable from the value of one variable. |
* (Multiplication) | This operator multiply values of 2 variables. |
/ (Division) | This operator divides the value of one variable from the value of another variable. |
% (Modulus) | It is used to obtain the remaining value after the operator division. |
No comments:
Post a Comment
Please do not any spam link in Comment Box