Initial commit

This commit is contained in:
DerTyp187
2021-11-08 10:41:37 +01:00
commit 4ff78bc0c7
36 changed files with 936 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package schleifen;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Fakultaet {
public static void main(String[] args) {
int ganzZahl = 120;
int result = 1;
int i = 1;
while (result != ganzZahl){
result = result * i;
System.out.println(result);
i++;
}
}
}