min~max 값을 갖는 랜덤변수 코드 int min = 0; int max = 12; int randomValue = (int) (Math.random() * (max - min)) + min;