풀이코드
import java.util.Scanner;
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 + "\nb = " + b);
}
}
'Programmers > 1단계 기초 트레이닝' 카테고리의 다른 글
[Day2] 덧셈식 출력하기 (0) | 2024.05.25 |
---|---|
[Day1] 특수문자 출력하기 (0) | 2024.05.25 |
[Day01] 대소문자 바꿔서 출력하기 (0) | 2024.05.25 |
[Day01] 문자열 반복해서 출력하기 (0) | 2024.03.06 |
[Day01] 문자열 출력하기 (0) | 2024.03.06 |