num1 = 12 result1 = num1 - 2 result2 = num1 - result1 result1 is equal to 10. result2 is equal to 2.
MULTIPLICATION OPERATOR (*) Used to multiply two values together . num1 = 12 result1 = num1 * 2 result2 = num1 * result1 result1 is equal to 24. result2 is equal to 288.
DIVISION OPERATOR (/) Used to divide one value by another. Division by zero will result in error. num1 = 50 result1 = num1 / 2 result2 = num1 / result1 result1 is equal to 25.0 result2 is equal to 2.0