Arithmetic Operations
We need to understand the results in integers or floating
We will see this is action
First, we need to identify what is an expression:
expression =values + operators
2 + 2
ADDITION
Substraction
Divission
// | Floor Division - The division of operands where the result is the quotient in which the digits after the decimal point are removed. But if one of the operands is negative, the result is floored, i.e., rounded away from zero (towards negative infinity) − |
% Modulus | Divides left hand operand by right hand operand and returns remainder |
**= Exponent AND | Performs exponential (power) calculation on operators and assign value to the left operand |
Arithmetic Operations
Reviewed by ohhhvictor
on
May 04, 2019
Rating:
No comments: