Question: Plz solve C++ coures derived class decla Programming Warm-Up Exercises T. Given the following declaration for a test score class, write a derived ration called

Plz solve C++ coures
derived class decla Programming Warm-Up Exercises T. Given the following declaration for a test score class, write a derived ration called IDScore that adds an integer student ID number as ber, and that supplies a constructor that has parameters correspo three member fields, and an observer that returns the ID number. imber as a private men corresponding to the class Test Score ! public: Test Score(/* in */ string name. /* in */ int score): string GetName() const: int GetScore() const: private: string studentName: int studentScore: J: Write the implementation file for the Test Score class in Exercise 1. The con- structor just assigns its parameters to the private data members, and the observers simply return the corresponding member. 3. Write the implementation file for the IDScore class in Exercise 1. The construe- tor just assigns its parameters to the private data members, and the observer simply returns the corresponding member. 4 TAXrita thoni
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
