You will use arithmetic operators to perform basic mathematical operations such as addition, subtraction, or multiplication.
Operator | Meaning | Example |
---|---|---|
+ | Addition | Input_1+100 or Input_1+Input_2 |
- | Subtraction or unary minus. | Input_1-100 or Input_1-Input_2 |
* | Multiplication | Input_1*100 or Input_1*Input_2 |
/ | Division | Input_1/100.0 or Input_1/Input_2 |
^ | Exponentiation (for example, 2^3) | Input_1^2 |