when you read the file, you read it line by line I guess?
What's a special characteristic of a blank line? Hint: it has to do with the number of characters on it after stripping whitespace.
What's a vowel? How can you detect it? When you know that all you need to know is how to loop through your input and count them.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
You could have an array of vowels which you could campare with every :( letter and if theres a match increment a vowelCount variable :)
MrScruff
Junior Poster in Training
89 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0