package myproject; public class Solution41012 { public static void main(String[] args) { //double rnd = Math.random(); //System.out.println("난수:" + rnd); // ////한 자리 정수/난수 출력 //double r = rnd * 10; //int k = (int) r; ////System.out.println("r=" + r + "," + "k=" + k); //System.out.println("한 줄:" + (int)(Math.random()*10)); int answer = 0; for (int i = 1; i