Gene Juarez interview question

How to perform an accounting function