[Solved] : Question 125986

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.


Expert Answer


Answer to : Question 125986

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?