Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(true){
- System.out.print("SemoiyvaneT magaliTi: ");
- userInput = myScanner.nextLine();
- if(userInput.trim().isEmpty())
- break;
- bw.write(userInput);
- bw.newLine();
- }
- bw.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement