+ 1
What to add in rand() function so that each random no will pop up the screen only once during execution
for creating bingo
2 Antworten
+ 1
I would recommend a hashmap for this, since searching is a lot faster in one.
0
Some form of an array, with a check if the new number is already in the array, with a loop to continue picking numbers until you have selected a new number and added it to the array