You have no array in your program - however, your use of random is ok. So, Id argue a difference about using arrays as it seems to be this you're having the issue with.
OK, take it back a stage, how would you assign the numbers 1 through 10 to an array holding 10 integers?
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
Offline 1,735 posts
since Aug 2008