$15
Write a program that will read temperatures in Fahrenheit from a file and store these values into an array. The program will allow the user to specify the filename (check "UserSpecifyFilename.pdf" for how to do this). Use a loop that will check if the file opened correctly, otherwise display an error message and allow the user to re-enter a filename again until successful. Read the values from the file and store into the array.
The program will then call these functions:
a function that will return the average of the temperatures,
a function that will return the highest temperature,
a function that will return the lowest temperature,
a function that will return the number of values in the array with temperatures greater than
or equal to 85, and
a function that will convert the temperatures from Fahrenheit to Celsius AND write the new
values to Celsius . txt.
For all functions, you will pass the array and any other needed arguments. The main function will then display the returned values (data statistics) and the total number of temperatures read from the input file. Also, inform the user with the created Celsius . txt file. Design a good user interface.
Assume that the maximum number of values in the input file will not exceed 100. The average should be displayed to two decimal places.