Kotlinlearncs.online LogoJava
Return to List

Solve: Love 8

Imported By: Geoffrey Challen
/ Version: 2021.6.0

The number 8 is a truly great number. Given two Int values, return true if either one is 8. Or if their sum or difference is 8.

fun love8(
first: Int,
second: Int,
): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: