Kotlinlearncs.online LogoJava
Return to List

Solve: Has 23

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given an IntArray of length two, return true if it contains a 2 or a 3.

fun has23(values: IntArray): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: