Hey guys!! How can you limit your random number generator to only produce 3-digit numbers? :D

What does your random number generator generate now?

By supplying it a range?

What you need to do is SCALE the random values from their current range to their new range.

This can be thought of as a ratio if you don't understand what I mean by scaling.

This can be thought of as a ratio if you don't understand what I mean by scaling.