Matching Pairs Math.random() JavaOnline version matching game by Nina Newlin 1 Math.random() 2 Math.random() * 2 3 (int) (Math.random() * 13) + 10 4 (int) Math.random() 5 (int) (Math.random() * 2 + 5) 6 (int) (Math.random() * 11) + 2 7 Math.random()*10 8 Math.random() * 11 9 (Math.random() * 9) + 1) 10 (int) (Math.random() * 10) + 1 11 (int) (Math.random() * 20) 12 (int) (Math.random() * 10) 1.0 <= x < 12 2<= x <= 12 0.0<= x < 2.0 0 <= x <= 9 0 <= x <= 19 0.0 <= x < 10.0 0 5 or 6 1.0 <= x <= 9.0 1 <= x <= 10 0.0 <= x < 1 10 <= x <23