ADP interview question

A pretty easy programming question