You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
If you don't want to use the Random class then try Math.random(). If this is not what you want then your problem is mathematical and not Java related. See this site :Pseudorandom series
Hope this helped.
__________________
If your ship has not come in yet then build a lighthouse.