What should I do?
I am required to create a small application to help a fictional company determine the dates they need to pay salaries to their sales department. This company is handling their sales payroll.
How are payroles handled?
-
Sales staff get a regular monthly fixed base salary and a monthly bonus.
-
The base salaries are paid on the last day of the month unless that day is a Saturday or a Sunday (weekend).
-
On the 15th of every month bonuses are paid for the previous month, unless that day is a weekend. In that case, they are paid the first Wednesday after the 15th.
The output of the application should be a CSV file, containing the payment dates for the remainder of this year.
What is the output?
The CSV file should contain a column for the month name, a column that contains the salary payment date for that month, and a column that contains the bonus payment date.