Programmers/1단계 기초 트레이닝 (10) 썸네일형 리스트형 [Day01] a와 b 출력하기 풀이코드 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); } } [Day01] 문자열 출력하기 풀이코드 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); System.out.println(a); } } 이전 1 2 다음