3. Develop an object-oriented program in C++ to create a pay roll system of an organisation with the following information read from the keyboard:
Employee name Employee code Designation Account number Date of joining Basic pay
DA, HRA and CCA
Deductions like PPF, GPF, CPF, LIC, NSS, NSC, etc.
Design a base class consisting of employee name, employee code and designation and another base class consisting of the data member, such as account number and date of joining. The derived class consists of the data member of basic pay plus other earnings and deductions.
Your program should have the facilities as enumerated in 1(b).