A+B

2022. 11. 12. 18:01개인적인 공부/백준

문제 1000번

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a, b;		
		
		a = sc.nextInt();
		b = sc.nextInt();
		System.out.println(a + b);
		
		sc.close();

	}

}

출력

 

1
2
3

'개인적인 공부 > 백준' 카테고리의 다른 글

사칙연산  (0) 2022.11.12
A÷B  (0) 2022.11.12
A × B  (0) 2022.11.12
A-B  (0) 2022.11.12
Hello World! 를 출력하시오.  (0) 2022.11.12