marhaba
for every one have any idia about the processing program like this can give me his openin, i now how to do the parts alon . but how to make all the program this the problem.
the program c is :
Please write a program processing data being read from two different text files. one file ,called e.g. student.dat should include all student informantionö like student number,name and surname of the student. Furthermore all the grades of this semester should be included in order to calculate the average of each tudentç The second file includes the grading scheme.(see below)
the layout of these files should be the following:
student.dat
---------------------------------------------------------------------------------------------------
1st line
number of students> <number of exams> weight of Exam1 .. weight of Exam n>#
:2nd line
Student numbeer first name surname Grade of Exm 1....Grade of Exam n
---------------------------------------------------------------------------------------------------
Grade.dat
---------------------------------------------------------------------------------------------------- A 100 85
A- 85 80
B+ 80 75
B 75 70
......
----------------------------------------------------------------------------------------------------
1- you have to read in the files and parse them correctly and store the elements in arrays
2- Calculate the average grade of each student and assign a grade letter according to grade.dat to the student.
3- the program should give the opportunity to sort the table according to student number,name,surname,average and letter grade.
4- one should be able to save the arrays to afile
5- There should be a quit button in the program to leave the program.