Capital One Interview Question

Create a class using pseudo code