DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+9 =
Submit