@@ -0,0 +1,411 @@
+package logic1;%0A%0Apublic class Old35Test %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%0A%09%09Old35Test test = new Old35Test();%0A%09%09System.out.println(test.old35(3));%0A%09%09System.out.println(test.old35(10));%0A%09%09System.out.println(test.old35(15));%0A%09%7D%0A%0A%09public boolean old35(int n) %7B%0A%09%09int test3 = n %25 3;%0A%09%09int test5 = n %25 5;%0A%0A%09%09if (test3 == 0 && test5 != 0 %7C%7C test3 != 0 && test5 == 0)%0A%09%09%09return true;%0A%0A%09%09return false;%0A%09%7D%0A%7D%0A

Add Old35Test