Very new to programming and I am trying to get a program to retrieve a file and number it if it has more than 24 lines of info it should stop until prompted by the user. I know it needs a loop but how do I retain the numbers i.e. 1-24 then 25-49.....