Exercise Find a fairly large file that contains some text and some blank lines.
The file electricity.txt is pretty good because it's funny apart from anything else. It was originally posted to our local news system by David O'Brien. From the previous exercise you should have a program which prints out the password file with line numbers. Change it so that works with the text file. Now alter the program so that line numbers aren't printed or counted with blank lines, but every line is still printed, including the blank ones.