For a class assignment I have to get input from a text file using a while loop. I also have to computing the sum of every 3rd integer that is read from this file. My question is how do I not read the last integer if it is not the 3rd one? In the file I'm reading the last one is the 2nd in the loop.