/// Name: Dylan Sleeper /// Period: 6 /// Program Name: Two Dice /// File Name: dice.java /// Date Finished: 10/22/2015 import java.util.Random; public class dice{ public static void main(String[] args){ Random r = new Random(); System.out.println("Here comes the dice!"); int r1 = r.nextInt(6) + 1; int r2 = r.nextInt(6) + 1; System.out.println("Roll 1: " + r1); System.out.println("Roll 2: " + r2); System.out.println("Total: " + (r1 + r2)); } }