mercredi 9 mars 2022

No Dupes in Array

For a class, I have to create a java program that builds an array of 10 random ints (1-100) that are not the same numbers. You need code to ensure there are no duplicates in the list. I can build the array full of randoms, I just need help with the no duplicates part.




Aucun commentaire:

Enregistrer un commentaire