@@ -0,0 +1,2103 @@
+import java.util.*;%0A%0Apublic class ThreeCardMonte %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner keyboard = new Scanner(System.in);%0A        Random rand = new Random();%0A        int ace = rand.nextInt(3) + 1;%0A        System.out.print(%22You slide up to Fast Eddie's card table and plap down your cash.%22 +%0A                %22%5Cr%5CnHe glances at you out of the corner of his eye and starts shuffling.%22 +%0A                %22%5Cr%5CnHe lays down three cards.%22 +%0A                %22%5Cr%5Cn%5Cr%5CnWhich one is the ace?%22 +%0A                %22%5Cr%5Cn          ##    ##    ##%22 +%0A                %22%5Cr%5Cn          ##    ##    ##%22 +%0A                %22%5Cr%5Cn          1     2     3%22);%0A        int guess = keyboard.nextInt();%0A%0A        String firstCard = %22%5Cr%5Cn          AA    ##    ##%5Cr%5Cn          AA    ##    ##%22;%0A        String secondCard = %22%5Cr%5Cn          ##    AA    ##%5Cr%5Cn          ##    AA    ##%22;%0A        String thirdCard = %22%5Cr%5Cn          ##    ##    AA%5Cr%5Cn          ##    ##    AA%22;%0A%0A        if (guess == ace) %7B%0A            if (guess == 1) %7B%0A                System.out.println(%22You nailed it! Fast Eddie reluctantly hands over your winnings, scowling.%22);%0A                System.out.print(firstCard);%0A            %7D%0A            if (guess == 2) %7B%0A                System.out.println(%22You nailed it! Fast Eddie reluctantly hands over your winnings, scowling.%22);%0A                System.out.print(secondCard);%0A            %7D%0A            if (guess == 3) %7B%0A                System.out.println(%22You nailed it! Fast Eddie reluctantly hands over your winnings, scowling.%22);%0A                System.out.print(thirdCard);%0A            %7D%0A        %7D else if (ace == 1) %7B%0A            System.out.print(%22Ha! Fast Eddie wins again! The ace was card number %22 + ace);%0A            System.out.print(firstCard);%0A        %7D else if (ace == 2) %7B%0A            System.out.print(%22Ha! Fast Eddie wins again! The ace was card number %22 + ace);%0A            System.out.print(secondCard);%0A        %7D else if (ace == 3) %7B%0A            System.out.print(%22Ha! Fast Eddie wins again! The ace was card number %22 + ace);%0A            System.out.print(thirdCard);%0A        %7D%0A    %7D%0A%7D%0A

Create ThreeCardMonte.java