Task: Write a program that asks the user for a filename and a character. The file will contain a paragraph. Your program should read the file word by word and print out how many times the character appears in the file.
Hint 1: Read in Chapter 3 about the extra string functions, in particular the length() function.
Hint 2: Once you have declared a variable as a string variable, you can treat it as if it were an array of characters. For example, if I have declared the variable 'word' as a string and I want to look at the 4th letter of 'word', I can do so by referencing 'word[3]'.
Hint 3: You'll need to combine these hints into a loop designed to examine a word character by character before you read in the next word.
Purpose: The primary purpose of this lab is to give us more practice using arrays.