Write a program that reads test scores (four scores for each student) from a file. The program should use value-returning functions to determine the test average. (The test average is the average of the three highest test scores.). The program should use priming read and a while loop that terminates when there is no more data in the file. The program should output the four test scores rounded to one decimal place and the average rounded to two decimal places to a file.
I am trying to read from a text file by this program, but no output file shows up
Also I don't know how to make it read the "three highest score either