OK, I\'m having some trouble writing multiple lines to a text file.
the program runs, but it won\'t use new lines each time
when I want it run 4 times, the t
By default FileWriter will overwrite the file. What you might want to do is define the reader in the following manner: new FileWriter("encoded.txt", true) This way the file will be appended to instead of being overwritten. Hope this helps!
FileWriter
new FileWriter("encoded.txt", true)