how do you print every other line of a text file
Posted: Sun Dec 20, 2009 10:57 pm
I need a code that prints every other line of a text file.
I.E
a text file contains:
hello
0
there
0
I just want
hello
there
to be displayed
I.E
a text file contains:
hello
0
there
0
I just want
hello
there
to be displayed