X647: Get smallest integer

Given an array of ints, return the smallest value in the array. Assume the array has only posivitive numbers. If the array has no values (i.e., length is 0), return -1.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.