Kotlinlearncs.online LogoJava
Return to List

Solve: Three Last Digit

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given three non-negative ints return true at least two of them have the same last digit.

boolean lastDigit(int a, int b, int c) {
return false; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: