@@ -0,0 +1,1271 @@
+import java.util.Scanner;%0A%0Apublic class Selection01_05%7B%0A%09public static void main (String%5B%5Dargs)%7B%0A%09%09Scanner scan = new Scanner(System.in);%0A%09%09int number1,number2,temp,answer,result;%0A%0A%09%09number1 = (int) (Math.random() * 10);%0A%09%09number2 = (int) (Math.random() * 10);%0A%0A%09%09if (number1 %3C number2) %7B%0A%09%09%09temp = number1;%0A%09%09%09number1 = number2;%0A%09%09%09number2 = temp;%0A%0A%09%09%09System.out.print(%22What is %22 + number1 + %22 - %22 + number2 +%22?%22);%0A%09%09%09answer = scan.nextInt();%0A%0A%09%09%09result = number1 - number2;%0A%0A%09%09%09if (result == answer)%7B%0A%09%09%09%09System.out.println(%22Correct.%22);%0A%09%09%09%7D else %7B%0A%09%09%09%09System.out.println(%22Wrong. The answer should be %22 + result);%0A%09%09%09%7D%0A%09%09%7D else if (number1 == number2) %7B%0A%09%09%09System.out.print(%22What is %22 + number1 + %22 - %22 + number2 +%22?%22);%0A%09%09%09answer = scan.nextInt();%0A%0A%09%09%09result = number1 - number2;%0A%0A%09%09%09if (result == answer)%7B%0A%09%09%09%09System.out.println(%22Correct.%22);%0A%09%09%09%7D else %7B%0A%09%09%09%09System.out.println(%22Wrong. The answer should be %22 + result);%0A%09%09%09%7D%0A%09%09%7D else %7B%0A%09%09%09System.out.print(%22What is %22 + number1 + %22 - %22 + number2 +%22?%22);%0A%09%09%09answer = scan.nextInt();%0A%0A%09%09%09result = number1 - number2;%0A%0A%09%09%09if (result == answer)%7B%0A%09%09%09%09System.out.println(%22Correct.%22);%0A%09%09%09%7D else %7B%0A%09%09%09%09System.out.println(%22Wrong. The answer should be %22 + result);%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09System.out.println(%22Thanks for using my games.%22);%0A%09%7D%0A%7D%0A

Create Selection01_05.java