@@ -0,0 +1,381 @@
+package logic1;%0A%0Apublic class TeenSumTest %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%0A%09%09TeenSumTest test = new TeenSumTest();%0A%09%09System.out.println(test.teenSum(3, 4));%0A%09%09System.out.println(test.teenSum(10, 13));%0A%09%09System.out.println(test.teenSum(13, 2));%0A%09%7D%0A%0A%09public int teenSum(int a, int b) %7B%0A%09%09if (a %3E= 13 && a %3C= 19 %7C%7C b %3E= 13 && b %3C= 19)%0A%09%09%09return 19;%0A%0A%09%09return a + b;%0A%09%7D%0A%7D%0A

Add TeenSumTest