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