@glennyisbae/

Gaussian-Jordan Elimination

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Main {
  public static void main(String[] args) {
    boolean lock=false;
	int i=20;
	int k=0;
	while (lock==false){
		i++;
		k=0;
		for (int j=1; j<=20; j++){
			if (i%j==0)
			k++;
		}
		if (k==20)
		lock=true;
	}
	System.out.print(i);
  }
}