Hello guys i've been learning java for a short while and have come upon a problem which i cannot seem to solve.
I have a boolean array of 11 values, now i want to prompt the user into entering the number 1 or 2. If the user enters 1 I want to select ONE random value between 1-5 from my boolean array and give that value to the user. If user chooses 2 then he gets a random value between 6-10. Once a value has been given away once it cannot resurface again.
Any help would be appreciated.