Uploaded by Kuldeep Verma


Q32. WAP to create a base class Employee with empid, empname, age as private data members, inherit it and create a child class Programmer with data members as
experience, workingdays, salary, method to calculate salary based on no of working days
in a month and display all the details.
Output should be like this:
Id is
Name is
Age is
Experience is
Salary is
Working Days
Total Salary