求解一道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.
龙龙老了的丫头 1年前 已收到1个回答 举报

发白的路走进 幼苗

共回答了16个问题采纳率:81.3% 举报

你要参加ACM啊?全英文!真是菜鸟的话还是看看课本吧.大体上一看这就是个定义一个teacher类和和person类的问题,貌似不麻烦.自己看看吧

1年前

2
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.034 s. - webmaster@yulucn.com