Program 47 Write a program to find the maximum and minimum element in an array. Variable description-- n=Number of elements in an array a=Array of size N min= Holds the minimum element max=Holds the maximum element