A company is interested in implementing a payroll system for its employees. You are requested to develop such program in which you must : • Declare the base class emp. • Use the function called getInfo(), to get the employee details. • Declare the derived class salary. • Declare and define the function getSalary() to get the salary details. • Define the function calculateNet() to find the net pay. • Read the number of employees. • Call the function getInfo(),getSalary() and calculateNet() to each employees. Test the above operations by writing a complete C++ program using single inheritance.
1
Expert's answer
2020-04-28T12:27:47-0400
Dear mafiki, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment