Pregunta de entrevista de Kyocera

Look at this code, whats wrong?