Arithmetic Operators
Arithmetic operators are used for mathematical expressions. The given table shows various arithmetic operators and their description: Operators Symbol Description of Symbol Subtraction – Subtracts two operands (val1-val2) Addition + Adds two operands (val1-val2) Multiplication * Multiply two operands (val1*val2) Division / Divides 2 operands (val1/val2) Negation ~ Negates the operand Modulo Mod Gives the remainder …