Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please Help

 
Angelo Watson
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im creating a random lottery generator.
How do I display random numbers that dont repeat itself.
Please Help
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you do a search on this forum for the word random you will find LOTS of discussions on this.
For instance here is one:
http://www.coderanch.com/t/322542/java/java/Random-Numbers
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angelo,
I'm finding it difficult to follow a few of your conversations as you seem to be cross-posting the same questions in multiple forums here. Please don't cross-post.
Thank You
On the subject of generating non-repeating random numbers, you may appreciate this past conversation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic