@@ -0,0 +1,377 @@
+package logic1;%0A%0Apublic class TwoAsOneTest %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%0A%09%09TwoAsOneTest test = new TwoAsOneTest();%0A%09%09System.out.println(test.twoAsOne(1, 2, 3));%0A%09%09System.out.println(test.twoAsOne(3, 1, 2));%0A%09%09System.out.println(test.twoAsOne(3, 2, 2));%0A%09%7D%0A%0A%09public boolean twoAsOne(int a, int b, int c) %7B%0A%09%09return (a + b == c %7C%7C b + c == a %7C%7C a + c == b);%0A%09%7D%0A%7D%0A

Add TwoAsOneTest