문제
문제 풀이
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int number1 = sc.nextInt();
int number2 = sc.nextInt();
System.out.println(number1 + number2);
}
}
결과
'Algorithm > 백준' 카테고리의 다른 글
[백준] 2739번: 구구단 - JAVA [자바] (0) | 2023.04.17 |
---|---|
[백준] 2738번: 행렬 덧셈 - JAVA [자바] (0) | 2023.04.17 |
[백준] 2557번: Hello world - JAVA [자바] (0) | 2023.04.17 |
[백준] 2475번: 검증수 - JAVA [자바] (0) | 2023.04.17 |
[백준] 2438번: 별 찍기 - 1 - JAVA [자바] (0) | 2023.04.17 |