DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
random between two numbers java
Random
r
=
new
Random
(
)
;
int
low
=
10
;
int
high
=
100
;
int
result
=
r
.
nextInt
(
high
-
low
)
+
low
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#random
#numbers
#java
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit