A C++ question. I hope that the answer is correct. It is among the requirements of the question completely, and that you

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

A C++ question. I hope that the answer is correct. It is among the requirements of the question completely, and that you

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply