Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hi, I am not too good at Math, but here is my suggestion. Using the way you generate random, 1-10, total 10 possibilities. (the way you store 1-10 in the array does matter, as long as the number of each NUMBER is the same as the probability you want it to be drawn.) hope you can understand me. good luck Replies:
|
Sponsored Links
|