A C++ question. I hope that the answer is correct. It is among
the requirements of the question completely, and that you help me
sincerely, and not attach an answer copied from another place.
Please, because I posted the question twice and they posted an
incorrect answer. Thank you. The question is
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
A C++ question. I hope that the answer is correct. It is among the requirements of the question completely, and that you
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am