GE Interview Question

programming assignment