Use proper programming practice and modular programming.
Write a program that asks the user for a file name. Assume the file contains a series of numbers, each written on a separate line. The file will contain at most 50 numbers, but may have fewer. The program should create an array of size 50, read the contents of the file into an array and then display the following data:
The lowest number in the array
The highest number in the array
The total of the numbers in the array
The average of the numbers in the array