PDA

View Full Version : A random number generating script


Cannibal_Monkey
12-10-2007, 02:19 AM
Is there a script out there that will allow me to generate random numbers, and put each number on a separate line. I am looking for something that will let me select the range of numbers that will be generated, and that will allow me to pick the amount of numbers to generate. For instance, if I said for it to generate 20 numbers from 1-3, it might come up with:

3
2
1
1
1
3
2
3
1
2
2
3
1
2
2
1
2
3
3
1

Anyone know of anything? Thanks.

Gox
12-10-2007, 05:15 AM
First question would be what programming language are you using? Should be a simple task after that's established.