Question: QUESTION THREE (35 MARKS ) A company is interested in implementing a payroll system for its employees . You are requested to develop such program

QUESTION THREE (35 MARKS ) 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 calculate Net ! ) to find the net pay . Read the number of employees . Call the function getInfo ( ) , getSalary ( ) and calculate Net ( ) to each employees . Test the above operations by writing a complete C + + program using single inheritance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
