Kotlinlearncs.online LogoJava
Return to List

Solve: Has 23

Imported By: Geoffrey Challen
/ Version: 2021.6.0

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

boolean has23(int[] values) {
return false; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: