prettier
This commit is contained in:
parent
5bac2ea38c
commit
abec2bcf81
@ -16,7 +16,7 @@ public class aufg3 {
|
||||
|
||||
Arrays.fill(primes, true);
|
||||
|
||||
for(int i=2; i < MAXIMUM*0.5; i++){
|
||||
for(int i=2; i < MAXIMUM * 0.5; i++){
|
||||
for(int j=2; j < MAXIMUM; j++){
|
||||
|
||||
int index = i * j;
|
||||
@ -29,7 +29,7 @@ public class aufg3 {
|
||||
|
||||
int counter = 0;
|
||||
for(int i=0; i < primes.length; i++){
|
||||
if(primes[i] && i>1) {
|
||||
if(primes[i] && i > 1) {
|
||||
System.out.print(i + " ");
|
||||
counter++;
|
||||
if (counter % MAX_PER_ROW == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user