- #1
rhenretta
- 66
- 0
Sorry, pretty basic, but for the life of me I can't think of the operator... if i=j it would return 1, and if i != j it would return 0...
A basic math operator is a symbol or sign used in mathematical expressions to perform different mathematical operations such as addition, subtraction, multiplication, and division.
The basic math operators are addition (+), subtraction (-), multiplication (*), and division (/).
To use a basic math operator, you need to write a mathematical expression with the operator between two numbers or variables. For example, 2 + 3 or x * y.
The order of operations for basic math operators is PEMDAS (Parentheses, Exponents, Multiplication and Division, Addition and Subtraction). This means that parentheses should be solved first, then exponents, followed by multiplication and division from left to right, and finally addition and subtraction from left to right.
Yes, basic math operators can be used with negative numbers. For example, -2 + 5 is equal to 3. The negative sign can be used as part of the number or in front of the number.