Pergunta de entrevista da empresa SAP

Read in a textfile containing single digit numbers and convert it into an integer array.