Capital One Interview Question

Implement a bank account class