read numbers from file using scanfin C code example Example: c read numbers from file change to fscanf(myFile, "%1d", &numberArray[i]);