You must create a simple program which will act a bit like notepad!
It must –
- Allow the user to open an existing file and load it all into memory
- Allow the creation of a file if the specified one does not exist.
- Allow each sentence to be added one line at a time
- Add each line to the opened file.
- Keep looping till the user enters “quit”
- Save and close the file once done.
Note – There are many ways to solve this problem. I am looking for the simplest!
You need to log in or create an account to submit code!

Leave a Reply