質問編集履歴
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,20 +2,6 @@
|
|
2
2
|
|
3
3
|
```ここに言語を入力
|
4
4
|
|
5
|
-
class Primenumbers{
|
6
|
-
public static void main(String args[]){
|
7
5
|
|
8
|
-
int x;
|
9
6
|
|
10
|
-
for(x=2;x<=10;x++){
|
11
|
-
if(x%2==1 || x==2){
|
12
|
-
|
13
|
-
if(!(x==9)){
|
14
|
-
System.out.println(x);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
7
|
```
|