How to genarate Uniqe Random numbers
hi,
I want to generate 10 random numbers which will be stored in an array.I want non-repeating values in this array.
The problem is that numbers are repeating in this array. However I tried but I could not do it .
for example.
8,5,4,2,9,7,1,3,10,6 (Numbers are not repeted )
How to do this , pls tell me if u know,
thanks!
|