Hi, i have some homework and i am really struggling with it. assignment is The user enters some text into the console , which you write to the file. As soon as the user enters only the dot (line "."), You will no longer type it and exit the program. We are working in Netbeans. Can someone please help me? Thank you