改行区切りのやり方がわかりません
public class Main {
public static void main(String[] args) throws Exception {
//ランダムな整数を改行区切りで3個出力してください。
int i = 0;
while () {
i++;
System.out.println((int)(Math.random()*11));
}
}
}
以後、気をつけます
回答1件
あなたの回答
tips
プレビュー
投稿2016/12/15 02:40
改行区切りのやり方がわかりません
public class Main {
public static void main(String[] args) throws Exception {
//ランダムな整数を改行区切りで3個出力してください。
int i = 0;
while () {
i++;
System.out.println((int)(Math.random()*11));
}
}
}
回答1件
あなたの回答
tips
プレビュー