Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

random int between two values

Random r = new Random();
int randInt = r.nextInt(max-min) + min;
System.out.println(randInt);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #int #values
ADD COMMENT
Topic
Name
2+3 =