[ scanner 라이브러리 ] Scanner() 로직을 쓰기 위해서 아래와 같은 코드 입력 import java.util.Scanner; Scanner sc = new Scanner(System.in) - System.in 사용자가 입력한 값 - 사용자가 입력한 값을 알아낸다.(스캐닝한다) Scanner sc = new Scanner(System.in); while(sc.hasNextInt()) { System.out.println(sc.nextInt()*1000); } sc.close(); 위에 while(sc.hasNextInt())는 - 입력한 값이 정수면 true 아니면 false로 중단된다. [ 예외 처리 ] try{ } catch(예외){ } try { File file = new File(..