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.

fun lastDigit(
a: Int,
b: Int,
c: Int,
): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: