Saidai.java



public class Saidai {

    public static void main( String[] args ) {

        int[] data = { 10, 75, 24, 32, 98,
                       72, 88, 43, 60, 35,
                       54, 62,  2, 12, 82,
                     };

        int max = saidai( data );
        System.out.println( "Maximum:" + max );
    }

    public static int saidai( int[] data ) {

        int max = data[0];
        for( int i=1; i<data.length; i++ ) {
             if( data[i] > max )
                 max = data[i];
        }
        return max;
    }
}