@@ -0,0 +1,1216 @@
+import java.util.*;%0A%0Apublic class AgainNumberGuessing %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        int tries =0;%0A%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        ++tries;%0A        if (guess == number) %7B%0A            System.out.print(%22That's right! You're a good guesser.%22 +%0A                    %22%5Cr%5CnIt only took you %22 + tries + %22. tries%22);%0A        %7D%0A        else %7B%0A            do %7B%0A%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                    ++tries;%0A                    if (guess == number) %7B%0A                        System.out.print(%22That's right! You're a good guesser.%22 +%0A                                %22%5Cr%5CnIt only took you %22 + tries + %22 tries.%22);%0A                        break;%0A                    %7D%0A                %7D%0A            %7D while (guess != number);%0A        %7D%0A    %7D%0A%7D%0A

Create AgainNumberGuessing.java