Kotlinlearncs.online LogoJava
Return to List

Homework: Close Far

Imported By: Geoffrey Challen
/ Version: 2021.7.0

Given three ints, 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.

Related Lessons

Stuck? You may find these lessons helpful: