Jump to content

C Program Required Urgently, Sort out Paragraphs.

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
SpursFan

SpursFan

    Newbie

  • Members
  • Pip
  • 1 posts
Hi, Im in desperate need for someone to do this assigned program. The following needs doing ...

I need a program that will open the file swbtxt.txt, reads the text in and corrects it according to the following rules. the first letter in a sentence should be in capitals. a sentence ends with a full stop and these are included. A paragraph is shown by a newline character and this should be changed to two newlines so that the paragraphs are separated. any occurrence of the letter i on its own should be converted to capitals. all characters such as "(*£*"! should be completely removed, the only char£
acters allowed are uppercase and lowercase letters and the few punctuation symbols , and . numbers 0 to 9 are OK.


The Text of the file is "
th¬¬is sentence has a hyphenation char=acter between "char" and "acter". it continues as a long paragraph, requiring automa{tic wrapping etc. it continues as a long paragraph, requiring automatic wrapping etc.this paragraph is with "fill" turned off.
so is this paragraph, which consists of 2 lines.
this para^^^graph was originally 2 lines, but "fill" is turned on.
this sente=+nce is the start of a long paragraph, which goes on and ¬`# on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on. it has very ragged lines and it has "just"¬ify" turned off but "f"ill" turned on.
this sentence is the start of a long par_)(agraph, which goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on. it has very ragged lines, and it has "justify" turned back on; "fill" is still turned on.
this ¬!£is the final sentence."

My price range is around $10-20 - or £10 Paypal only.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
We don't do homework for people.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog