grade-replacement

the question is
some school have a grade-replacement policy: a student can retake a course,remove the old grade, and post the new grade in the record. using the implementation of the graderecord class. create a new header file"xgrade.h" that adds the member function replacegrade()to the graderecord class.


void replacegrade(int oldunits, int oldgradepts,int newunits,int newgradepts){}

the function updates the grade record by first deleting the old units and grade point and then adding the new grade information.

write a program that declares the grade record object dharris. After initially displaying the GPA, indicate the effect of replacing four units of D(one gradept per unit)with anA(four gradepts per units)by displaying the new GPA. Show the effect of more grade replacemnet by having dHarris subsitute a B for an F in two four-unit class.
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
Topic archived. No new replies allowed.