math.random every number no range code example
Example 1: math.random every number no range
int jj = reader.nextInt();
Example 2: function to get random number from min max range
funtion getRandomNumber(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max-min) )
}