結果 : write a program to find maximum and minimum element in array