@@ -0,0 +1,824 @@
+package codingbat.logic1;%0A%0A//The number 6 is a truly great number. %0A//Given two int values, a and b, return true if either one is 6. %0A//Or if their sum or difference is 6. %0A//Note: the function Math.abs(num) computes the absolute value of a number. %0A//%0A//love6(6, 4) = true%0A//love6(4, 5) = false%0A//love6(1, 5) = true%0A%0Apublic class Love6Test %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    Love6Test test = new Love6Test();%0A%0A    System.out.println(%22%3E%22 + test.love6(6, 4) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.love6(4, 5) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.love6(1, 5) + %22%3C%22);%0A  %7D%0A%0A  public boolean love6(int a, int b) %7B%0A    if(a == 6 %7C%7C b == 6)%7B%0A      return true;%0A    %7D%0A    else if (a+b == 6) %7B%0A      return true;%0A    %7D%0A    else if (Math.abs(a-b) == 6) %7B%0A      return true;%0A    %7D%0A    %0A    return false;%0A  %7D%0A%0A%7D%0A

add task love6Test