質問編集履歴
1
列番号の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,30 +28,30 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
|
31
|
+
public class Main {
|
32
32
|
|
33
|
-
|
33
|
+
public static void main(String[] args ){
|
34
34
|
|
35
|
-
|
35
|
+
String[] s = new String[5];
|
36
36
|
|
37
|
-
|
37
|
+
int i = 0;
|
38
38
|
|
39
|
-
|
39
|
+
if( args.equals(null) ){
|
40
40
|
|
41
|
-
|
41
|
+
System.out.println("スコアが入力されていません。");
|
42
42
|
|
43
|
-
|
43
|
+
}
|
44
44
|
|
45
|
-
|
45
|
+
while(i<5){
|
46
46
|
|
47
|
-
|
47
|
+
s[i] = args[i];
|
48
48
|
|
49
|
-
|
49
|
+
System.out.println("スコア:" + s[i]);
|
50
50
|
|
51
|
-
|
51
|
+
i++;
|
52
52
|
|
53
|
-
|
53
|
+
}
|
54
54
|
|
55
|
-
|
55
|
+
}
|
56
56
|
|
57
|
-
|
57
|
+
}
|