Kotlinlearncs.online LogoJava
Return to List

Homework: Array Count Greater Than 1D

Created By: Geoffrey Challen
/ Version: 2021.8.0

Write a method named arrayCountGreaterThan. It should accept an int array as its first argument and an int as its second, and return a count of how many values in the array are strictly greater than the second parameter. assert that the passed array is not null.

Related Lessons

Stuck? You may find these lessons helpful: