Assignment #57 and Dice

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Dice
    ///File Name: Dice.java
    ///Date Finished: 10/16/15
        
    import java.util.Random;
    
    public class Dice
    {
    
        public static void main ( String[] args )
        {
            
           Random r = new Random();
           
           int a, b, c;
           
           a = 1 + r.nextInt(6);
           b = 1 + r.nextInt(6);
           c = a + b;
           
           System.out.println( "HERE COMES THE DICE!\n\nRoll #1: " + a + "\nRoll #2: " + b + "\nThe total is " + c + "!" );
        }
    }
        

Picture of the output

Assignment57