Unique Random Numbers
Click on the button below to reveal six unique numbers in the range 1 to 49. Ideal therefore, for the U.K. lottery. Unlike other complicated codes designed to generate a series of unique random numbers, the code I have written for this program is short and easy to follow. Moreover, no further code is require to increase the range or the total of random numbers.
Click here to view the Javascript code
Click here to view the Basic code
Click here to view the C source code