Java how to generate random number between 10 and 100?
int num = (int)(Math.random()*(Max-Min+1)+Min; int num = (int)(Math.random()*(100-10+1)+10);