Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner sc = new Scanner(System.in);
- String line;
- while(!(line = sc.nextLine()).equals(".")){
- // line zawiera sczytaną linię tutaj
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement