T. Rowe Price interview question

How can you structure your code to be easily testable?