If they choose the first option, it should display the line containing that word and give you the option to replace it, move to the next occurrence, or quit looking.
For the second option, you may use your list statistics class if you think it would be useful, since you've already implemented it.
You can assume that the file contains only letters, white space, commas, and periods. Assume that a word is any sequence of characters that is preceded by a space or the beginning of a line, and followed by a space, comma, period, or newline. A sentence is any sequence of characters that ends with a period.
Remember to turn in your printed copies of source code and output, electronic copy of executable, and design documentation.