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