I'm having trouble doing the following and have no idea how to do it: I would like to fill an array generated with random numbers (1-40) and also make it so that the number doesn't repeat. Also, is there a way to make the array go to the next value on its own using. So let say I have test [1] = "3" and then test [2] = "6". Is there anyway to make it go to the next value instead of calling test [2]?
Thanks a lot