I need to create an array that has a fixed number (for example 30) of random non duplicate integers between 1 and 100. Any help will be greatly appreciated!
Well, I would create the array, then each time you randomly generate a number, loop through the array and check that the number isn't already in there. If it isn't, put it in, otherwise re-randomize it.