Writing to a file from the console

  • 7
  • Locked
Now you need to write something to a file. You need to first read the file name from the console, then read lines entered by the user until the user enters "exit". Finally, write all the entered lines to the file, each on a new line.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in
ProfjLevel 20 , Lagos
19 June, 22:25
But seriously. I'm not sure I encountered a lesson that dealt with all these read and write into file stuff.