본문 바로가기

Projects/자바 100제

자바 100제 10번 scanner nextInt 응용

반응형
package java_algorithm;

import java.util.Scanner;

public class ex100_10 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner sc = new Scanner(System.in);
		
		int i = sc.nextInt();
		int e = sc.nextInt();
		
		System.out.println(i + "" + e);
				
		
	}

}
반응형