Prepare program to check the syntax of the english language

Assignment Help C/C++ Programming
Reference no: EM13700649

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.

Reference no: EM13700649

Questions Cloud

Prepare a program to add the specific numbers : Write a program that will read in 5 numbers and add 10 to the first number, 20 to the second number, and 30 to the third number, 40 to the fourth and 50 to the 50th.
Determine what is the net force on the elevator : An empty elevator has a mass of 365.2 kg, and the people inside have a total mass of 172.1 kg. What is the net force on the elevator
What is the ieee-754 single-precision binary representation : Program: What is the IEEE-754 single-precision binary representation of the floating point number 49.625?
What is the osmotic pressure of a 284 ml fructose : Question- What is the osmotic pressure of a 284 mL fructose (sugar) solution containing 102.33 g fructose (C6H12O6) at 25 oC [density of the solution = 1.137 g mL-1]? A. 63.0 atm B. 13.9 atm C. 43.0 atm D. 48.9 atm E. 2.00 atm
Prepare program to check the syntax of the english language : Determine the form of the output dependent on the coefficients being input. Print and evaluate with peers in class."
What is the mass of the crate : You apply a constant net horizontal force of 65.5 N to a crate that rests on a smooth horizontal floor. The frictional force is negligible. What is the mass of the crate
Create a class representing a student : Create a second class that instantiates the first class with information about yourself. In the second class, create a class method that displays your name and GPA.
What is the maximum kinetic energy of the ejected electron : Question- Sodium metal has an electron binding energy Eb=4.41x10^-19 J. If sodium is irradiated with 439nm light, what is the maximum kinetic energy of the ejected electron
Find the resultant force acting on the object : An object with mass 835-g undergoes an acceleration given by a = (3.00 i + 8.00 j) m/s2. Find the resultant force acting on the object

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Prepare a program for a retail-mart company

Prepare a program for a company Retail-Mart.

  Create a class named gamer that has a field for name

Create a class named Gamer that has a field for name(string) and a field for points(int).

  String converter

String Converter: Implement a program that asks the user to input up to 20 strings (stopping when the user inputs 0). Store these strings in a 2-dimensional array. Replace all the characters that are upper-cased to their lower-case equivalent.

  Write an input validation loop

write an input validation loop that asks the user to enter a number in the range of 1 through 4.

  Use c-strings without using the c-string library

write a program that implementd and test the following functions for use C-strings without using the c-string libaray  ( that is, you re NOT ALLOWED to use #include in this   program):

  Write an application that shows the sum

This is for Object-Oriented Programming Using C++ language - Edition Joyce Farrell. Please ensure to read everything that I have wrote so that there is no confusion.

  Execute the next line which is enter your last name

C++ in VS and I'm trying to run the following program. As soon as I put in my name after the 2nd cout statement, the program ends.

  Make a c program that will calculate the gross pay

Write a C program that will calculate the gross pay of a set of employees. For each employee the program should prompt the user to enter the clock number, wage rate, and number of hours as shown below.

  Need to prepare a c++ program of class swap

Class Swap contains tow data members num1 , num2 and member function swapping ,the aim of this function is swapping num1 and num2 values , swapping should done by using pointer , i.e. if num1= 20 and num2 =5 they become : num1= 5 and num2=20.

  Basics of code development on linux and cryptographya

basics of code development on linux and cryptographya prepare a c program that gives simple mono-alphabetic

  Csc302 make any dfa in jflap software and run for several

make any dfa in jflap software and run for several inputs. take a screen shot and include in your assignment. keep in

  Testing a program based on varying

Testing a program based on varying input values without knowing what the code looks like is called _____.With _____ testing, you make sure that every instruction in the code is executed at least once.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd