Assignment #59 and Three Card Monte

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Three Card Monte
    ///File Name: Monte.java
    ///Date Finished: 10/16/15
        
    import java.util.Random;
    import java.util.Scanner;
    
    public class Monte
    {
        public static void main ( String[] args )
        {
            Scanner keyboard = new Scanner(System.in);
            Random r = new Random();
            
            int a, guess;
            
            a = 1 + r.nextInt(3);
            
            System.out.println( "You see a man on a street corner dealing three card monte. You decide to walk over. He shows you which of the three cards is the ace, you lay down your bet, and he shuffles. \nWhich one is the ace now?\n\t## ## ##\n\t## ## ## \n\t1  2  3 " );
            guess = keyboard.nextInt();
            System.out.println();
            
            if ( a == guess )
                System.out.println( "You nailed it! The man gives you your winnings." );
            else
                System.out.println( "Looks like you lost. The ace was card number " + a + ". Take this as a lesson to not gamble." );
                
            if ( a == 1 )
                System.out.println( "\n\tAA ## ## \n\tAA ## ## \n\t1  2  3" );
            else if ( a == 2 )
                System.out.println( "\n\t## AA ## \n\t## AA ## \n\t1  2  3" );
            else if ( a == 3 )
                System.out.println( "\n\t## ## AA \n\t## ## AA \n\t1  2  3" );
        }
    }
        

Picture of the output

Assignment59