Ironclad Interview Question

Had to solve an intermediate code challenge