Thoughtworks Interview Question

To solve the problem of billing in the sales program.