///Name: Ilana Levy ///Period: 5 ///Program Name: Dice ///File Name: dice.java ///Date Finished: 9/21/2015 import java.util.Random; public class dice { public static void main( String[] args ) { System.out.println( "Here comes the Dice!\n" ); Random r = new Random(); int roll1 = 1 + r.nextInt(6), roll2 = 1 + r.nextInt(6); System.out.println( "Roll #1: " + roll1 ); System.out.println( "Roll #2 " + roll2 ); System.out.println( "The total is " + ( roll1 + roll2 ) ); } }