SCM Insurance Services interview question

some simple programming question