第8章习题答案 下载本文

};

{ return 2000+coursetime*20; }

void print()

{ cout<<\讲师:\

int main()

{professor pobj(\李小平\

pobj.print();

cout<<'\\t'<<\工资:\associateprofessorapobj(\王芳芳\

apobj.print(); }

cout<<'\\t'<<\工资:\lecturer lobj(\何大建\lobj.print();

cout<<'\\t'<<\工资:\