Book_163_4_17 //반복문 Scanner sc=new Scanner(System.in); int num=0; System.out.println("*을 출력할 라인의 수를 입력하세요>>"); String tmp=sc.nextLine(); //화면을 통해 입력받은 내용을 tmp에 저장 num=Integer.parseInt(tmp); //입력받은 문자열(tmp)을 숫자로 변환 for(int i=0;i 5 * ** *** **** ***** 자바의 정석 문제풀이 2021.08.06