Salary Calculator

Rules:
• First 3 late arrivals are allowed
• Each late after 3 = Half day deduction
• Each absent day = Full day deduction