import java.util.Random; public class throwMillionDice{ // solution to CMPSCI 187 Discussion #2, 19 September 2012 // throw a million six-sided dice and report results // Ravali Pochampally, 26 September 2012 public static void main(String[] args){ // using no seed Random r = new Random(); //comment this line if you need to use Random() with a seed // using seed 1776 //Random r = new Random(1776); //un-comment this line if you need to use Random() with a seed int t = 1000000; int i,n1,n2; // array to store the 11 unique values of the sum int[] sum = new int[11]; for(i=0;i