Data stream in the file

Oh you help me do this exercise

• Introduce the problem
There is a set of sentences in English or Vietnamese are unsigned keyboard input. Write
normalized program text input according to the following issues:
- Remove the extra space between two words or two sentences. Two from each other just the right one
spaces. After just a punctuation mark the beginning of the next sentence. No
no space between the end of sentences and punctuation. Before the comma is not marked
way. After only a comma and a space.
- The first letter of the beginning of the sentence must be capitalized, the letter of the word must be
lowercase. From the rest of the sentence must be lowercase.
- Remove excess punctuation. Remove the extra comma.
- If the last sentence of the paragraph without punctuation must add punctuation.
• Data on:
The program will read data from file input.dat. This data includes one or a number of questions
. English or Vietnamese unsigned

• The result:
The result is printed output.dat file. Text input must be standardized
as required by section introduces the problem
.
Topic archived. No new replies allowed.