質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,35 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
class Primenumbers{
|
10
9
|
|
11
|
-
public static void main(String args[]){
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
int x;
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
for(x=2;x<=10;x++){
|
20
|
-
|
21
|
-
if(x%2==1 || x==2){
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
if(!(x==9)){
|
26
|
-
|
27
|
-
System.out.println(x);
|
28
|
-
|
29
|
-
}
|
30
|
-
|
31
|
-
}
|
32
|
-
|
33
|
-
}
|
34
|
-
|
35
|
-
}
|
36
|
-
|
37
|
-
}
|
38
10
|
|
39
11
|
|
40
12
|
|