///Name: Dakota Donahue ///Period: 5 ///Project Name: Dice ///File Name: Dice.java ///Date: 12/4/2015 import java.util.Random; public class Dice { public static void main ( String[] args ) { Random r = new Random(); int a = 1 + r.nextInt(6); int b = 1 + r.nextInt(6); System.out.println( " Here comes the dice! " ); System.out.println( "/n Roll #1: " + a ); System.out.println( "/n Roll #2: " + b ); int c = (a+b); System.out.println( " The total is " + c + " ! " ); } }