Assignemnt #57 and Dice

Code

        /// Name: Brian Phillips
    /// Period: 5
    /// Program name: Dice
    /// File Name: Dice.java
    /// Date Finished: 12/3/2015
import java.util.Random;

    public class Dice
    {
    	public static void main ( String[] args )
    	{
    		Random r = new Random();
            
            int Roll1, Roll2, Total;
    
    		int x = 1 + r.nextInt();
    
    		System.out.println( "HERE COMES THE DICE!");
            
    		Roll1 = ( 1 + r.nextInt(6));
    		Roll2 = ( 1 + r.nextInt(6));
            
           Total = (Roll1 + Roll2);
    
    		System.out.println();
    
    		System.out.println("The total is " + Total + "!");
    
    	}
    }


    

Picture of the output

Dice.html