You need to prepare a program to check the syntax of the English language.
Question: Everything below is to be written to a file and corrected. Notice how the headers are not all capitalized and there are periods missing throughout. Any assistance is greatly appreciated!
Program:
Create a C++ program that will read this file and correct errors in the English syntax of the file
Details:
The program should:
a. Read in the file
b. Place periods at the end of all sentences throughout this file
c. Convert all section headers (such as "Details") to all caps
d. Output the corrected file to a text file ("OutFile.txt") Note that each numbered item in this section has at least one sentence. All sentences begin with a capital letter and end with whitespace possibly followed by another sentence.
The code should not be specific to these particular sentences, but should use syntactical rules to determine end of sentences. Finally, a sentence should have only one period, not more
e. Each numbered item should be implemented by a separate function in the code.
You have to do the given task
1. Determine the form of the output dependent on the coefficients being input. Print and evaluate with peers in class."
You have to make sure to include comments. Comments should be included in the program to explain your calculations and program.