Question: Q1/ Write C++ program to declare student status. the program should have class 1 insert student name and age call by reference, class 2


Q1/ Write C++ program to declare student status. the program should have

Q1/ Write C++ program to declare student status. the program should have class 1 insert student name and age call by reference, class 2 should insert student status (success, fail) using static member function and inherit class 1, class 3 should insert subject name inherit class 1, and class 4 inherit class 2&3 and test if student success of not and display all information (student name. age, success or not, subject name). Where: If success=1 and fail=0 display success If success=0 and fail-1 display fail

Step by Step Solution

3.38 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

C CODE include using names... 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 Programming Questions!