SP8467 GPA1 - GRADE POINT AVERAGE
Description
**Problem 1: GRADEPOINTAVERAGE**
**Problem Statement:**
Every student of a college has to write 3 internal assessments and 1 final exam on each semester for all the 6 subjects. Each internal assessment mark is out of 20 and the final exam mark is out of 100. The best two of three assessment marks is chosen and those marks are considered to be out off 45. The final exam mark is considered to be out off 50. The rest 5 marks is allotted based on the percentage of attendance of the student.
Attendance mark allotment
Below 51% attendance – 5 marks
Below 61% attendance – 4 marks
Below 71% attendance – 3 marks
Below 81% attendance – 2 marks
Below 91% attendance – 1 mark
else –No mark for those sincere students
Some students even bunk the assessments. If he bunks then instead of the mark ‘ab’ symbol is used which denotes “absent”. But no one bunks the final exam.
No attendance is taken during exam days
For each subject there’ll be some credit allotted by the department based on the importance of the subject.
Total marks in a particular subject = best two out of three assessments(45%)
\+ attendance mark(5%) +Final exam mark(50%)
**Points out off 10:**
%Total mark in a subject Points
\>=91 10
\>=81 9
\>=71 8
\>=61 7
\>50 6
==50 5
Input Format
N/A
Output Format
N/A