Skip to content

Instantly share code, notes, and snippets.

@rugyoga
Created March 8, 2016 19:12
Show Gist options
  • Save rugyoga/8ac3423cf0bb2d1849af to your computer and use it in GitHub Desktop.
Save rugyoga/8ac3423cf0bb2d1849af to your computer and use it in GitHub Desktop.
import java.io.*;
class Echo
{
public static void main(String[] args)
throws IOException
{
BufferedReader reader = reader = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = reader.readLine()) != null) {
System.out.println(line);
}
reader.close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment