"I just want to have random numbers which are unique."
So whats the problem. Are you stuck somewhere, trying to implement
this? How about a trial and show us where/if you have problems.
Since its only 5 numbers, you can create an array that holds say 5 elements. Then fill the array only if the number
is unique (by checking the array).
Last edited by firstPerson; Jul 31st, 2009 at 3:04 pm.
Reputation Points: 840
Solved Threads: 594
Senior Poster
Offline 3,862 posts
since Dec 2008