IBM Interview Question

It was based on TAX calculation