I am working on a project and need it to write certain data (user input from a form) into a file. I created the following write class but it only creates the txt file and doesnt write.

private...