본문 바로가기
코딩테스트/백준

Java - 백준 코딩테스트 1000번 [입출력과 사칙연산 - A + B]

by sycareer 2021. 6. 24.

1
2
3
4
5
6
7
8
9
10
11
12
13
import java.util.Scanner;
 
public class AplusB {
    //1000번
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        System.out.println(a + b);
    }
 
}
 
cs