The *= operator multiplies a variable by a number.
myVar =
myVar * 7;
will multiply myVar by 7. This can be rewritten as:
myVar *=
7;
Exercices
Convert the assignments for a, b, and c to use the *= operator.
= a * 5
;
= 3 * b
;
= c * 10
;