# closeFar

/*

Similar to IcyHot.java solve with test cases, test case helper and main method

Given three ints, a b c, return true if one of b or c is "close" (differing from a by at most 3), while the other is "far", differing from both other values by 4 or more. Note: Math.abs(num) computes the absolute value of a number.

closeFar(1, 3, 7) -> true

closeFar(1, 2, 3) -> false

closeFar(8, 1, 4) -> true

*/

public boolean closeFar(int a, int b, int c) {

}

//put in a class and add other testing methods like in IcyHot, can copy that but change names appropriate to this problem.

//can copy from IcyHot but edit to your problem where needed

//first add more test cases with correct expected values to show you understand the problem

- Log in to post comments