* Question
What are the usage rules for arithmetic operators? |
* Answer
The rules for using arithmetic operators are as follows., -: stop, negative operation, can be integer, real number, physical quantity.The -: plus or minus operator can be used as an integer or a real number, and the two operands involved in the addition and subtraction must be of the same type.*, /: The operand н丨 of the multiplication and division operations is the same as an integer and a real number. |
COMMENTS