Operator is used for do mathematical calculations. We assign airthmatic values to custom variables then we used operators. There are many types of operators such as: + , - , * and / .
Example :
a = 1;
b = 3;
c = a + b;
a = 1;
b = 3;
c = a - b;
a = 1;
b = 3;
c = a * b;
a = 1;
b = 3;
c = a / b + a ;
No comments:
Post a Comment