Operators and Operands
Operators are special symbol that help in carrying out an assignment operation or arithmetic or logical computation
Value that the operator operates on is called operand
Example:
2 + 3 = 5
Here, plus sign ("+") is the Operator and "2","3" are the Operands.
Arithmetic Operators
Used to perform mathematical operations between two operands.
So now, we will create two variables as a = 10 and b = 5 and perform some basic operations on them.
0 Comments:
Post a Comment