public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int answer = a+b;
System.out.println(a + " + " + b + " = " + answer);
}//띄어쓰기 잘해라 ~
}
'프로그래머스 문제' 카테고리의 다른 글
문자열 돌리기 (0) | 2024.06.06 |
---|---|
문자열 붙여서 출력하기 (0) | 2024.06.06 |
특수 문자 출력하기 (0) | 2024.06.06 |
문자열 반복해서 출력하기 (0) | 2024.06.06 |
대소문자 바꿔서 출력하기 (0) | 2024.06.05 |