Kyocera interview question

Look at this code, whats wrong?