Assignemnt #71 and 69th program

Code

///Name: Derrick Andreasen
///Period: 7
///Program name: 69th Program
///File name: Sixt9Prog.java
///Date Finished:12/2/2015

import java.util.Random;
import java.util.Scanner;

public class Sixt9Prog
{
	public static void main( String[] args )
    {
    Random r = new Random();
    Scanner keyboard = new Scanner(System.in);
    
    
     System.out.println( "HERE COMES THE DICE!" );
            
            System.out.println( "" );
            
            int x = 1, c = 2, v;
            
            do{
            
                x = 1 + r.nextInt(6); 
                c = 1 + r.nextInt(6);
            System.out.println( "Roll #1: " + x );
            System.out.println( "Roll #2: " + c );
            
            v = x + c;
            
            System.out.println( "The total is " + v + "!" );
            System.out.println( "" );
                
                
            } while ( x != c );
        }
    }

Picture of the output

Assignment 71