Quote:I need to read the file, determine which lines contain a number that needs to be higher than a given number (say 711), and calculate the percentage of those numbers that fit the criteria.

If you read the file on screen, how do you do to count the number of values that meet the criteria and what you need to get the percentage of values that meet the criteria ? The program will do the same.