Page 1 of 1

random numbers

Posted: Thu Aug 15, 2013 1:33 pm
by siliconchip
hi all ive been working on a flowchart for the lotterys thunderball but im having trouble writing code to stop the numbers being picked repeating them selves which they do on occasion has any one any ideas of some code i can add at some point in the program to stop numbers that are being picked from being repeated

Re: random numbers

Posted: Thu Aug 15, 2013 1:45 pm
by medelec35
Hi siliconchip,
I posted a lottery generator here:
http://www.matrixmultimedia.com/mmforum ... =26&t=8025
That does not repeat the same number.