Question4完了

This commit is contained in:
m-endo
2026-09-17 16:26:50 +09:00
parent 6f29122307
commit 487005a537
10 changed files with 105 additions and 17 deletions

View File

@@ -21,7 +21,13 @@ public class PTra04_03 {
randomNumber = random.nextInt(10);
// 生成した値をコンソールに出力
System.out.println(randomNumber);
if (randomNumber == 5) {
break;
}
}
}
}
}