Arithmetic Operator
Arithmetic operators are special mathematical symbol which do all arithmetical calculation of the programs. Following table display the operators and their works:
------------------------------------------------------------------------------------
Name of operators Symbol works example
----------------------------------------------------------------------------------------
Addition operator + Add the numbers sum=7+8+1=16
Subtract operator - Subtraction of numbers sub=100-50=50
Multiply operator * Multiple of numbers muti=8*9=72
Modulus operator % Find the reminder of numbers mod=45%40=5
Division operator / Find the division of numbers div=45/40=1
Relational operators
-----------------------------------------------------------------------------------------
Arithmetic operators are special mathematical symbol which do all arithmetical calculation of the programs. Following table display the operators and their works:
------------------------------------------------------------------------------------
Name of operators Symbol works example
----------------------------------------------------------------------------------------
Addition operator + Add the numbers sum=7+8+1=16
Subtract operator - Subtraction of numbers sub=100-50=50
Multiply operator * Multiple of numbers muti=8*9=72
Modulus operator % Find the reminder of numbers mod=45%40=5
Division operator / Find the division of numbers div=45/40=1
Relational operators
-----------------------------------------------------------------------------------------
0 comments:
Post a Comment
Dont Forget for Commets