%= w c
Modulus AND assignment operator. It takes modulus using two operands and assigns the result to the left operand.
Wandering Wallaby
Modulus AND assignment operator. It takes modulus using two operands and assigns the result to the left operand.
“*=”: This operator is a combination of ‘*’ and ‘=’ operators. This operator
first multiplies the current value of the variable on left to the value on the
right and then assigns the result to the variable on the left.
(a *= b) can be written as (a = a * b)
If initially, the value stored in a is 5. Then (a *= 6) = 30.