We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e8e489 + d2f27e4 commit f1aad7dCopy full SHA for f1aad7d
Exercise_09/Exercise_09_04/Exercise_09_04.java
@@ -12,9 +12,9 @@ public static void main(String[] args) {
12
// Displays the first 50 random integers between 0 and 100
13
for (int i = 1; i <= 50; i++) {
14
if (i % 10 == 0)
15
- System.out.printf("%5d\n", randomNumber.nextInt(1000));
+ System.out.printf("%5d\n", randomNumber.nextInt(100));
16
else
17
- System.out.printf("%5d", randomNumber.nextInt(1000));
+ System.out.printf("%5d", randomNumber.nextInt(100));
18
}
19
20
-}
+}
0 commit comments