Comparing Employees Project

This project is my first experience using IComparable to compare objects. There are 4 employee objects, 2 which are salaried and 2 which are hourly. This project has those variables hard coded in the program. First the program compares the similar pay types, salaried to salaried and hourly to hourly. Then they compare unlike pay types, salaried to hourly.

Program Run

Main Class Code

Employee Class Code

Checking Class Code

Savings Class Code