I\'m trying to read a repeated numbers from a file for my college project but the usage of infile in the loop keeps reading the same numbers from the file and doesnt move fo