dsaiztc
6/7/2014 - 9:57 AM

Generate random numbers in a range.

Generate random numbers in a range.

int rand = Min + (int)(Math.random() * ((Max - Min) + 1));