Rereading the original post, I notice the task deals with "counting".

Assuming no repeated field in a same line, counting the total number of repetitions (3, for the three lines you gave: 2, 12 and 102 are all repeated once) shows the extremely useful END condition, satisfied once the whole input has been read: { for (i = 1; i

Reply via email to