0

Ok, so I've imported
import java.util.Random;

and im trying to get a random number between 1 and 2, 1 and 4,and also 1 and 15, how would i acomplish this, i know how to generate random numbers, but not between 2 certain numbers?, how can this be accomplished?

Edited by scheppy: n/a

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by scheppy
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.