the problem read
"Write a text analyzer program that will read any txt file. The program is to print a menu that gives the user the options of counting lines, words, characters, sentences (one or more words ending in a period), or all of the above. Provide a separate functionfor each option. At the end of the analysis, write an appropriat report."
the question that i have is, how do I make functions taht count lines, words, characters, and sentences?
Any help would be great.