The ten students’ grades on three exams are stored in a file named “grade.txt”.
Student 1 87 96 70
Student 2 68 87 90
Student 3 94 100 90
Student 4 100 81 82
Student 5 83 65 85
Student 6 78 87 65
Student 7 85 75 83
Student 8 91 94 100
Student 9 76 72 84
Student 10 87 93 73
Write a program that can read data from “grade.txt”, then calculate a particular student’s semester average, and output the overall grade distribution for a whole semester. Besides, all output data must be stored into “grade_output.txt”.
Pack your files all together in a single zip file and upload to your answer. For example, the student with student ID 410000000 needs to compress those files: 410000000.cpp; grade.txt; grade_output.txt to 410000000.zip and upload only this 410000000.zip to the answer.