prettier
This commit is contained in:
parent
e9f2dd5c52
commit
1b367eebc6
@ -9,8 +9,10 @@ public class aufg1 {
|
|||||||
System.out.println(i);
|
System.out.println(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
System.out.println("=================");
|
System.out.println("=================");
|
||||||
System.out.println("=================");
|
System.out.println("=================");
|
||||||
|
|
||||||
for(int i = MAXIMUM; i > 1; i--){
|
for(int i = MAXIMUM; i > 1; i--){
|
||||||
if(i % 2 == 1){
|
if(i % 2 == 1){
|
||||||
System.out.println(i);
|
System.out.println(i);
|
||||||
|
@ -9,7 +9,7 @@ public class aufg3 {
|
|||||||
// =====================
|
// =====================
|
||||||
|
|
||||||
public static void main(String[] args){
|
public static void main(String[] args){
|
||||||
int MAXIMUM = 10_000;
|
int MAXIMUM = 100_000;
|
||||||
int MAX_PER_ROW = 20;
|
int MAX_PER_ROW = 20;
|
||||||
|
|
||||||
boolean[] primes = new boolean[MAXIMUM];
|
boolean[] primes = new boolean[MAXIMUM];
|
||||||
|
Loading…
Reference in New Issue
Block a user