What does the term "Arithmetic operator" mean?

A type of operator which uses numbers to perform simple mathematic equations. It is made up of two operands .

For example, if you were to say x + y the letters x and y are your operands. When you then ask the computer to show you the value of this expression you would get sum of those two values.

Although they vary in how they are written between languages, the arithmetic operators are roughly as follows:

OperatorExampleDescription
+2 + 3 returns 5the right value added to the left value
2 – 3 returns -1the right value subtracted from the left value
*2 * 3 returns 6the right value multiplied by the left value
/2 / 3 returns 0.6666666666the right value divided by the left value
%2 % 3 returns 2the remainder of the right value divided by the left value
**2 ** 3 returns 8the left value to the power of the right value

Leave a Reply

Thank you for choosing to leave a comment. Comments may be moderated.