Arithmetic Operators Flashcards
__________ are used to compute the numerical value of variables.
Arithmetic operators
[ Identify / illustrate the operator of what is being described. ]
Adds two operands
+
[ Identify / illustrate the operator of what is being described. ]
Subtracts second operand from the first
-
[ Identify / illustrate the operator of what is being described. ]
Multiplies both operands
*
[ Identify / illustrate the operator of what is being described. ]
Divides one operand by another and returns a floating point result.
/
[ Identify / illustrate the operator of what is being described. ]
Divides one operand by another and returns an integer result.
\
[ Identify / illustrate the operator of what is being described. ]
Raises one operand to the power of another.
^ ^
[ Identify / illustrate the operator of what is being described. ]
Modulus Operator is used to get the remainder of two operands when divided.
MOD or %
_______ ______ is used to get the remainder of two operands when divided.
Modulus Operator