I want to generate a pair of random numbers withing a range but also the pair must not be contained in an array of pairs I have, so you can basically think of the task as generating a random pair with exceptions. I know you can do it with a loop but I've been told it's possible with only one level of indentation. I've been searching around for something similar, so far no results. Your help would be much obliged, cheers.
[5,5](with replacement)? If you've drawn[4,5], would[3,5]be a valid draw? Lastly, why the rush to select an answer?