C++第五章 习题 P162 5.18:编辑一个学生和教师数据输入和显示程序,学生数据要编号、姓名、班号和成绩,教师数据有编号、姓名、职称和部门。要求将编号、姓名输入和显示设计成一个类person,并作为学生数据操作类student和教师数据操作类teacher的基类。#include#includeusing namespace std;class person{public: person(s Other 2023-10-17 174 点赞 2 评论 263 浏览