Pergunta de entrevista da empresa Bentley Systems

Given an array give its sign, positive negative or 0.