Use the file created above as an input file. Write a program that takes the students’ data and store it in another file named “outtest.txt”. The program stores data in this sequence: name, total grade (after computing it). After storing all data in the output file, the program computes the average, max and min of the grades and stores them after student data in the output file. Sample file output: Ali 87 Saad 84.5 …. …. Average 76.4 MaxGrade 96 MinGrade 59. |
|
|
tcs |