This is my code. I want to generate numbers between 20 and 30, instead of just counting till 15.
How do I do that?
int index = (int)(Math.random()*15);
Aucun commentaire:
Enregistrer un commentaire