Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. Scanner sc = new Scanner(System.in);
  2.         String line;
  3.        
  4.         while(!(line = sc.nextLine()).equals(".")){
  5.             // line zawiera sczytaną linię tutaj
  6.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement