Pseudocode Algorithm

Write a pseudocode algorithm that opens a file called “averageTemperatures.dat”, and then reads each of the integer valued temperatures in an array called “tempList”. Once the temperatures are stored in the array, search the array and find the lowest and highest temperatures and store them to a file called “temperature.dat”. There will never be more than 365 degrees in temperature, and the sentinel value for the end of file is = -9999. Assume the following variables have been declared: Declare Input temperatureFile Declare Output temperatureDataFile Declare real lowest Declare real highest Declare integer count Declare real temp Declare real tempList