class LCG{ /* * This is the RNG presented in class - we changed only the way it gets the initial seed * Instead of using the current time we start with 0 */ static final long m = 2147483647; static final long b = 12345; static final long a = 1103515245; static long u = 0; static double save; static boolean even = false; static final double TWO_PI = 6.2831853071795864769252866; public static double Uniform(){ u = (u * a + b) % m; return(double)u/m; } /* This is the code you should complete */ public static int Dice(){ return ?; } } class Main { public static void main(String[] args) { for (int i = 0; i < 20; i++) System.out.println(LCG.Dice()); } }