How to add these all ( 1 1 0 1 1 0 1 0 0 0 1 5 8 0 12 10 25) in the script and How to calculate the GPA??
For example a course record file can be like this:
COURSE NAME: Operating Systems
CREDITS: 4
123456 1 1 0 1 1 0 1 0 0 0 1 5 8 0 12 10 25
243567 0 1 1 0 1 1 0 1 0 0 0 7 9 12 15 17 15
create a file in the directory which contains the list of all students, their total marks for each course, and their GPA as the last column.
Student# <course name> <course name> <course name> ...
For example a GPA file could be like this:
Student# Operating Systems JAVA C++ Web Development GPA
123456 76 63 50 82 67.75
243567 80 - 34 63 59
---------- Post updated at 02:41 PM ---------- Previous update was at 02:41 PM ----------
How to add these all ( 1 1 0 1 1 0 1 0 0 0 1 5 8 0 12 10 25) in the script and How to calculate the GPA??
For example a course record file can be like this:
COURSE NAME: Operating Systems
CREDITS: 4
123456 1 1 0 1 1 0 1 0 0 0 1 5 8 0 12 10 25
243567 0 1 1 0 1 1 0 1 0 0 0 7 9 12 15 17 15
create a file in the directory which contains the list of all students, their total marks for each course, and their GPA as the last column.
Student# <course name> <course name> <course name> …
For example a GPA file could be like this:
Student# Operating Systems JAVA C++ Web Development GPA
123456 76 63 50 82 67.75
243567 80 - 34 63 59