The input file contains Russian text. Find two identical letters in a row in the text, write them down in capital letters and indicate the letters found in brackets after each word. Write the resulting text to the output file. All text, except for the found words, must remain unchanged, including punctuation marks.
Answers
Answer:
Specific paired punctuation is used in writing to set words off from other words in the same sentence. These paired punctuations such as brackets can be used as delimiters to determine the order of performing calculations within a mathematical equation, or to alert the reader to text that is not part of a quotation, is incorrect in its original form, or has been omitted. The use of this punctuation is standard in academic writing; however, there are some exceptions to this standard.
The four main paired punctuation symbols are the bracket (or square bracket; also called parenthesis in British English), the parenthesis (plural: parentheses), the brace (curly bracket in British English), and the inequality sign (pointy bracket). The normal sequence or order of use is {([ ])}; however, this can also differ according to the discipline and which English is used.
[ ]: square bracket
( ): parentheses
{ }: brace or curly bracket
< >: pointy bracket or inequality sign
One more paired punctuation, the angle bracket (〈 〉), is used mainly in mathematics; however, most computer keyboards do not have these symbols and writers tend to use the pointy brackets in its place. It is possible to designate the angle bracket in professional typesetting to avoid this issue, but using the pointy brackets is acceptable