Pregunta de entrevista de SCM Insurance Services

some simple programming question