Kotlinlearncs.online LogoJava
Return to List

Homework: Array Max (1D)

Created By: Geoffrey Challen
/ Version: 2020.9.0

Declare and implement a function called arrayMax. It should accept a nullable DoubleArray as its single argument, and return the maximum value stored in the array. If the array is empty or null, you should return 0.0.

Related Lessons

Stuck? You may find these lessons helpful: