Question: Write the program, which has two classes one, is Date having members (day, month, year) and the other class is called Employee. The employee has

Write the program, which has two classes one, is Date having members (day, month, year) and the other class is called Employee. The employee has Date class as member as each employee has Date of joining, Date of Birth etc.

a. Determine if an employee joined the organization within last five years if the current year is 2012.

b. Determine if an Employee has age less than 40 years?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!