How do I generate a random number between 0 and n?

Edit
Report