Kotlinlearncs.online LogoJava
Return to List

Solve: Array Front 9

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given an int[], return true if one of the first 4 elements in the array is a 9. The array length may be less than 4.

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

Related Lessons

Stuck? You may find these lessons helpful: