Write a program that asks for a number of numbers to be input. Read up to that number, but no more than 50, double precision floating point numbers into an array. After each number is input, print a running average, calculated with the average() function described above. If the average is the last average to be displayed, indicate it is the final average.