프로그래머스 문제

a와 b 출력하기

nakgopsae 2024. 6. 5. 11:10

 


public class Solution {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
    // 입력받은 a 와 b를 답안 형식에 맞게 출력하기
}

'프로그래머스 문제' 카테고리의 다른 글

덧셈식 출력하기  (0) 2024.06.06
특수 문자 출력하기  (0) 2024.06.06
문자열 반복해서 출력하기  (0) 2024.06.06
대소문자 바꿔서 출력하기  (0) 2024.06.05
문자열 출력하기  (0) 2024.06.05