Code:
new array[4]
new current_value, max_value
for(current_value=0;current_value<4;current_value++) if(array[current_value] > array[max_value]) max_value = current_value
or
Code:
max( array[ 0 ] , max( array[ 1 ] , max( array[ 2 ] , array[ 3 ] ) ) );
__________________