IBM Interview Question

Fees calculation based the given date.