Create a program that will calculate the grade for a class full of students. There will be an input file called “Students.txt” that contains no more than 50 students,one per line. Each line contains the student ID(8 digits),4 test scores,and the final exam score.(All scores may have decimal numbers.)The grade is calculated as follows:grade=50%*test average+50%*final exam score The program should create an output file called “Grades.txt” which will contain summary information for each student,one per line.Each line should contain the student’s ID,4 test scores,final exam score,grade(with 2 decimal places),and letter grade based on a 10 point grading scale.
To be honest I'm not sure how to approach this problem.