C++面向对象程序设计
83 84 // print CommissionEmployee object 85 void CommissionEmployee::print() const 86 { 87 88 89 90 91 employee: cout << "commission employee: " << getFirstName() << ' ' << getLastName() << "\nsocial security number: " << getSocialSecurityNumber() << "\ngross sales: " << getGrossSales() "\ << "\ncommission rate: " << getCommissionRate();
Outline
Commission Employee.cpp
(4 of 4)
92 } // end function print