An operator is a symbol that represent a specific action.Operators are used to perform operations on variables and values.
Arithmetic Operators
The Arithmetic Operators contain the basic operation on
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus (to calculate reminder)
Example
The output of the above code
No comments:
Post a Comment