Files
pl@gohorb.ba-horb.de a0e59eebe8
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 1m35s
new file: AddEle.jav
new file:   Fac.jav
	new file:   Faculty.jav
2025-09-24 13:53:55 +02:00

15 lines
195 B
Java

import java.lang.Double;
import java.lang.Integer;
public class Fac {
getFac(n){
var res = 1;
var i = 1;
while(i<=n) {
res = res * i;
i++;
}
return res;
}
}