I know how to do it between 0 and 100, but I can I set the floor?
This is how I do 0 - 100..
int randomNum = (int) Math.ceil(Math.random() * 100);
I know this is answered already but correct answer did not have code snippet. So here is a little code snippet:
int randomNum = 0;
Random ran = new Random();
randomNum = ran.nextInt(25) + 75;