Write a program to demonstrate dynamic arrays. Allow the user to give the number of elements of floats. Then allow the user to input each element in the array. Then compute the average, maximum and minimum of the array.