Question: Has to be written in Java Question 3.b: (25 points) A sequential access file TEST.txt has some student records. Each record has five data fields
Has to be written in Java
Question 3.b: (25 points) A sequential access file "TEST.txt" has some student records. Each record has five data fields which are ID NUMBER, NAME, EXAM1, EXAM2 and EXAM3. EXAM1, EXAM2 and EXAM3 are integer grades of MATH exams. Write a program to read the file "TEST.txt" and compute the MEAN (mathematical average) of the grades of the MATH exams and write the each student record which has a MEAN greater than 45.50 into a sequential access file "RESULT.txt". Records of "RESULT.txt" file will contain an ID NUMBER, NAME and MEAN for each student.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
