@@ -0,0 +1,449 @@
+package logic1;%0A%0Apublic class InOrderTest %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09%0A%09%09InOrderTest test = new InOrderTest();%0A%09%09System.out.println(test.inOrder(1, 2, 4, false));%0A%09%09System.out.println(test.inOrder(1, 2, 1, false));%0A%09%09System.out.println(test.inOrder(1, 1, 2, true));%0A%09%7D%0A%0A%09public boolean inOrder(int a, int b, int c, boolean bOk) %7B%0A%09%09if (c %3E b) %7B%0A%09%09%09if (bOk)%0A%09%09%09%09return true;%0A%09%09%09if (b %3E a)%0A%09%09%09%09return true;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%7D%0A

Add InOrderTest