코딩하는 개굴이

BaekJoon/BOJ [java] A+B_1000 본문

알고리즘/Baekjoon

BaekJoon/BOJ [java] A+B_1000

개굴이모자 2018. 10. 30. 14:06
반응형

BaekJoon/BOJ [java] A+B_1000

단계: 입출력 받아보기

import java.util.Scanner;
public class baekjoon_1000 {
    public static void main(String[] argc){
        Integer a, b;
        Scanner scanner = new Scanner(System.in);
        a = scanner.nextInt();
        b = scanner.nextInt();
        System.out.println((a+b)+"");
    }
}


반응형

'알고리즘 > Baekjoon' 카테고리의 다른 글

BaekJoon/BOJ [JAVA] We love kriii_10718  (0) 2018.10.30
BaekJoon/BOJ [JAVA] 개_10172  (0) 2018.10.30
BaekJoon/BOJ [JAVA] 등록_7287  (0) 2018.10.30
BaekJoon/BOJ [JAVA] Hello World_2557  (0) 2018.10.30
BaekJoon/BOJ [JAVA] A-B_1001  (0) 2018.10.30
Comments