I have an in.txt file from which I read a document. I then have to re-write the document in an out.txt file, but with the following prerequisites:
-The length of each