• Post Reply Bookmark Topic Watch Topic
  • New Topic

3 blank spaces at the beginning of each new paragraph  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have been working on the program.
It has to read from the text file B1 and output the results in the text file B2 with the 3 blank spaces at the beginning of each new paragraph.
I am totally new to programming, and help would be greatly appreciated.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part are you having a problem with?
 
Vince Snow
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Program should look for the blank line and insert 3 spaces at the beginning of the next line which would be a new paragraph.
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vince Snow:
Program should look for the blank line and insert 3 spaces at the beginning of the next line which would be a new paragraph.


Have you tried anything so far? Or maybe have you got a rough idea on how yu'd do it even if you don't know the exact code. A big part of learning how to program is learning how to think logically so someone posting the answer here will not help you

Post some code even if it's not right and we'll offer some guidance
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!