1.1-Introductie-Programmeren

Bug Hunting Exercise - Salary Admin

This Salary Admin program operates fairly simple. A CSV is read in containing the payment data for employees. The CSV lists the pay they would get if they work full time and also lists how much they actually work. So 0.8 FTE means they work 4 days and get paid accordingly.

The program can display a single paycheck nothing how much they receive after taxes. (Taxes have been hardcoded to 30% for this example)

The program can also display how much is paid out to employees each month in total after taxes are withheld.

However, the program contains multiple bugs. Here are some that I could find (there might be more):

Can you solve them all?

Click here to download the SalaryAdmin project.