Hi below is the link to my question which was answered a week ago. You can look
ID: 3632501 • Letter: H
Question
Hi below is the link to my question which was answered a week ago. You can look at the problem and the CODE aslo ! The only problem is that the answer does not complete two requirements of the question ( which are given below link).
So all you have to do is to add a little something to that code! (Please ignore " [this->] " in code )
http://www.cramster.com/answers-nov-11/computer-science/inheritance-write-registration-program-college-eme-wi_1630180.aspx?rec=0
e. The base class Employee should have a method of displaying the total salary of all derived class employees.
g. The derived class CR should have several instances and a compare function for comparing the instances on basis of the GPA from base class. ( i think by operator overloading maybe ? )
Explanation / Answer
my friend i didn`t understand what is required for the second question if u can explain it to me and i couldn`t find the class CR in the answer u provided to complete just add this function to the class Employee and the salary for any derived class from it will be shown by sending the object to it any questions just message me template friend void display_derived(T obj) { obj.print(); }Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.