質問編集履歴
1
文法修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,25 +30,25 @@
|
|
30
30
|
|
31
31
|
public static void main(String[] args) throws IOException {
|
32
32
|
|
33
|
-
BufferedReader br = new BufferedReader(
|
33
|
+
BufferedReader br = new BufferedReader(
|
34
34
|
|
35
35
|
new InputStreamReader(System.in));
|
36
36
|
|
37
|
-
//文字列を数値化する
|
37
|
+
//文字列を数値化する
|
38
38
|
|
39
|
-
int score = Integer.parseInt(br.readLine());
|
39
|
+
int score = Integer.parseInt(br.readLine());
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
if (score >= 60) {
|
43
|
+
if (score >= 60) {
|
44
44
|
|
45
45
|
System.out.println("合格");
|
46
46
|
|
47
|
-
}else{
|
47
|
+
}else{
|
48
48
|
|
49
49
|
System.out.println("不合格");
|
50
50
|
|
51
|
-
}
|
51
|
+
}
|
52
52
|
|
53
53
|
}
|
54
54
|
|