Question: Write a C++ program to declare a class COLLEGE with members as college code. Derive a new classas STUDENT with members as studid. Accept and

Write a C++ program to declare a class COLLEGE with members as college code. Derive a new classas STUDENT with members as studid. Accept and display details of student along with college forone object of student. 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c include include using namespace std class COLLEGE protected string collegeCode public void setCollegeCodeconst string code collegeCode code string getCollegeCode const return collegeCode class STUDE... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!