Pergunta de entrevista da empresa Microsoft

If you have an array of strings with numbers on it, return the integer value.