Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4.  
  5. /**
  6.  * Created by Владимир on 23.05.2015.
  7.  */
  8. public class Echo {
  9.     public static void main(String[] args) throws IOException {
  10.         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
  11.         String s;
  12.         while ((s = in.readLine())!=null && s.length()!=0){
  13.             System.out.println(s);
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement