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
Get step-by-step solutions from verified subject matter experts
