Kotlinlearncs.online LogoJava
Return to List

Solve: Near Hundred

Imported By: Geoffrey Challen
/ Version: 2021.3.0

Given an Int n, return true if it is within 10 of 100 or 200.

fun nearHundred(n: Int): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: