Write a method smallest(A,n) that returns the smallest of A[0], ..., A[n-1]. A should have type int[]. Assume that n is at least 1.

 

    [Language: Java  Kind: function definition]