using Object Oriented design
Consider the following problem:
Company XYZ needs a program to build a database concerning employee information. The program should do the following:
Ask employees for their name and number of dependents clean for tax purposes.
Display a message to verify the number of tax deductions. (This will be one more than the number of dependents entered.)
Let employees select whether they want personal health insurance or family health insurance.
Display message to verify the inspection and tell each employee the cost of the selection.
Let employees select whether they want to deduct union dues from their paycheck.
Display message to verify the selection and tell each employ the cost of the selection.
Show the OOD solution of this problem: