GM Financial Interview Question

Coding assessment in Java that was fairly average in difficulty.