Created
April 17, 2015 07:32
-
-
Save Baekjoon/5a5e0078722b21fcff06 to your computer and use it in GitHub Desktop.
java scanner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Main { | |
public static void main(String args[]) { | |
Scanner sc = new Scanner(System.in); | |
int n = sc.nextInt(); | |
String s = sc.nextLine(); | |
System.out.println(n + "\n" + s); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment