i have a problem:

student.dat file
1. surname, name, patronymic (40 characters);
2. course number (1 character);
3. group number (1 character);
4. summary of the sessions: 10 sets of 5 evaluations each;
5. form of education: full-time, part-time (1 character);
6. exam: subject name (10 characters) and grade (1 character);
The data in the file is sorted by course number, within the course...