Question: Assignment 7 Read and Create File Write a text analyzer program that reads any text file. The program prints a menu that gives the user
Assignment
Read and Create File
Write a text analyzer program that reads any text file.
The program prints a menu that gives the user the options of counting lines, words, characters, or sentences one or more words ending in a period or all the above.
Provide a separate function for each option.
At the end of the analysis, write an appropriate report.Chosse action: Lines Count. Words Count. Characters Count. Sentences Count. All of the above. Quit Please type your choice: Enter File name: comments.txtFile: comments,txtNumber of Lines Number of words Number of characters Number of Sentences Chosse action: Lines Count. Words Count.
Post your Code and the six Screenshots here:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
