num1 12 result1 num1 2 result2 num1 result1 result1 is equal to 10 result2 is

Num1 12 result1 num1 2 result2 num1 result1 result1

This preview shows page 20 - 29 out of 33 pages.

num1 = 12 result1 = num1 - 2 result2 = num1 - result1 result1 is equal to 10. result2 is equal to 2.
Image of page 20
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.
Image of page 21
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
Image of page 22