Return to List## Solve: Close Far

### Related Lessons

Given three `int`

s, `a`

, `b`

, and `c`

, return `true`

if one of `b`

or `c`

is close, differing from a by at most 1,
while the other is far, differing from both other values by 2 or more.

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

return false; // You may need to remove this starter code

}

Stuck? You may find these lessons helpful: