Write down the method to calculats and display array c as follows:
c[i]=max(a[i],b[i]), 0<=i
Write down the methods for calculating maximum value, minimum value, and mean value of array. Use these methods to calculate and display minimum of array a, maximum of array b, and mean value of array c.