Pergunta de entrevista da empresa Kyocera

Look at this code, whats wrong?