Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.io.IOException;
- import java.nio.file.Files;
- import java.nio.file.Paths;
- import java.nio.file.StandardOpenOption;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) throws IOException {
- String filePath = "C:\\Users\\mr130.DESKTOP-AMSJBJ3\\IdeaProjects\\Lab8\\src\\com\\company\\text.txt";
- Scanner scanner = new Scanner(System.in);
- String text = "";
- while (scanner.hasNextLine()) {
- text += "\n" + scanner.nextLine();
- }
- Files.write(Paths.get(filePath), text.getBytes(), StandardOpenOption.APPEND);
- }
- }
- So the story goes
- Owner of a lonely heart
- Owner of a lonely heart
- (Much better than a)
- Owner of a broken heart
- Owner of a lonely heart
- Say, you don't want to chance it
- You've been hurt so before
- Watch it now
- The eagle in the sky
- How he dancin' one and only
- You, lose yourself
- No not for pity's sake
- There's no real reason to be lonely
- Be yourself
- Give your free will a chance
- You've got to want to succeed
- Owner of a lonely heart
- Owner of a lonely heart
- (Much better than a)
- Owner of a broken heart
- Owner of a lonely heart
- Owner of a lonely heart
- After my own indecision
- They confused me so
- Owner of a lonely heart
- My love said never question your will at all
- In the end you've got to go
- Look before you leap
- Owner of a lonely heart
- And don't you hesitate at all, no no
- Yow!
- Owner of a lonely heart
- Owner of a lonely heart
- (Much better than a)
- Owner of a broken heart
- Owner of a lonely heart
- Owner of a lonely heart
- Owner of a lonely heart
- (Much better than a)
- Owner of a broken heart
- Owner of a lonely heart
- Owner of a lonely heart
- Sooner or later each conclusion
- Will decide the lonely heart
- Owner of a lonely heart
- It will excite, it will delight
- It will give a better start
- Owner of a lonely heart
- Don't deceive your free will at all
- Don't deceive your free will at all
- Owner of a lonely heart
- Don't deceive your free will at all
- Just receive it
- Just receive it
- (Owner of a lonely heart)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement