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.

boolean love8(int first, int second) {
return false; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: