Write a program that checks a text file for several formatting and punctuation matters. The program asks

Question:

Write a program that checks a text file for several formatting and punctuation matters. The program asks for the names of both an input file and an output file. It then copies all the text from the input file to the output file, but with the following two changes: (1) any string of two or more blank characters is replaced by a single blank; (2) all sentences start with an uppercase letter. All sentences after the first one begin after either a period, a question mark, or an exclamation mark that is followed by one or more whitespace characters.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: