Define an enumeration type ECTSGrade of the grades A, B, C, D, E, Fx and F and associate the Danish 7-step grades 12, 10, 7, 4, 2, 0, and -3 to the symbolic ECTS grades. What is the most natural underlying type of ECTSGrade? Write a small program which illustrates how to use the new enumeration type. |