We have an input file with an unknown number of records. The content of the records are studName (string), studId (integer) and three float exams (exam1, exam2, and exam3). The valid range of data is 1111 studId 9999 and 0.00 exam 100.00. For valid data, determine whether the student has passed or failed or top the course (97.00 > avg of exams 75.00 will pass the course & avg of exams 97.00 will get top rank.) For invalid data, print “~~ Invalid Data ~~” message. At the end, find mean of all exam averages. See input and output sample: