Give two differences between arithmetic operators and relational operators. Explain using examples
Answers
Answered by
0
Arithmetic operators are used to perform mathematical operations. Relational operators are used to perform comparison operations. ... Assignment operator is used to assign value of the second operand to first.
Example of relational operators: In computer science, a relational operator is a programming language construct or operator that tests or defines some kind of relation between two entities. These include numerical equality (e.g., 5 = 5) and inequalities (e.g., 4 ≥ 3).
Example of arithmetic operators: Arithmetic operators are used in arithmetic computations.
Arithmetic Operators.and more in picture
Attachments:
Similar questions