I am new to programming, and one of our first assignments is to produce a program that counts the number of words and number of lines from a file. I have the word counter set up to count spaces or new lines to determine how many words there are. This becomes a problem if there is more than one space between words. Any ideas how to fix this problem? Thanks!