public class Main {
public static void main(String[] args) throws Exception {
//ランダムな整数を改行区切りで3個出力してください。
int i = 0;
while () {
i++;
System.out.println((int)(Math.random()*11));
}
}
}
1publicclass MS {2publicstaticvoidmain(String[] args)throwsException{3//ランダムな整数を改行区切りで3個出力してください。 4int i =0;5while(i!=3){6i++;7System.out.println((int)(Math.random()*11)+"\n");8}9}10}