Just make a random number in that range and add it to an array. Then create another random int and check if it is already inside the array. If not add it. Keep going until the array has four ints in it.
HTH
Just make a random number in that range and add it to an array. Then create another random int and check if it is already inside the array. If not add it. Keep going until the array has four ints in it.
HTH