Thursday, March 10, 2016

modulo


What does the modulo (%) operator do, and why is it useful in generating random numbers? Provide a code example and explanation.

It divides two #s and stores the remainder

No comments:

Post a Comment