Write a main class to test your program. In your main function, create objects from the student, postgraduate and undergraduate classes. Invoke all available functions.
get_info() – a function to get info about a student. Use appropriate cout and cin statement to get student’s attributes
display_info() – a function to display info about the student.
calculateGrade() - a function to generate grade for the entered marks. This function will return an appropriate grade for the mark.
Eg:
marks = 80;
return A;
marks = 50;
return D;
Grading Scale :
80 -100 : A
70-79 : B
60-69:C
50 – 59: D
40 – 49 : E
<40 : F
enterQualification() - a function to enter qualifications for a postgraduate student.
enter_subject() - a function to enter all registered subjects and marks obtained.
Eg:
Please enter subject 1 : MTS 3023
Please enter mark: 78
1
Expert's answer
2012-12-24T08:38:50-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment