@@ -0,0 +1,893 @@
+import java.util.*;%0A%0Apublic class KeepGuessing %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 number = rand.nextInt(10)+1;%0A%0A        System.out.print(%22I have chose a number between 1 and 10. Try to guess it.%22 +%0A                %22%5Cr%5CnYour guess: %22);%0A        int guess = keyboard.nextInt();%0A        if (guess == number)%7B%0A            System.out.print(%22That's right! You're a good guesser.%22);%0A        %7Delse%7B%0A            while (guess!=number)%7B%0A                System.out.print(%22That is incorrect. Guess again.%22 +%0A                        %22%5Cr%5CnYour guess: %22);%0A                guess = keyboard.nextInt();%0A                if (guess == number)%7B%0A                    System.out.print(%22That's right! You're a good guesser.%22);%0A                    break;%0A                    %7D%0A            %7D%0A%0A        %7D%0A    %7D%0A%7D%0A

Create KeepGuessing.java