lundi 13 février 2017

Generating Random Numbers In Specific Range In Specific Number Of Times

This question seems similar to this Generating Random Numbers

But the things that is different from this question is that I want to generate random number in specific range in specific number of time

Suppose I want to generate numbers from 1 to 10 thirty times, I want each numbers to be displayed 3 times

Random.nextInt(10);

this code dosenot have controll on generating numbers on specific number of times

Thanks in advance for help!!




Aucun commentaire:

Enregistrer un commentaire