Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

random value between 10-20

// Random int value between 10 and 20
int d = (int)(Math.random() * 11 ) + 10;
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #random
ADD COMMENT
Topic
Name
1+9 =