求解一道C++题,要完整程序,谢谢啦~我是菜鸟
求解一道C++题,要完整程序,谢谢啦~我是菜鸟
题目是全英文的,无遗漏
Define a base class named person which includes name,sex,birthday data members.Create derived class named student and teacher.The student class adds class,no,total data members.The teacher class adds department,profession,wage data members.Input the data from the main function and display the information of the student and the teacher.