X1332: Get position of smallest integer

Given an array of ints, return the POSITION (i.e., the index) of 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:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.