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

18 lines
367 B
Java

import java.lang.Integer;
import java.lang.Float;
public class FacultyBug {
public Fun1$$<Float, Float> fact = (x) -> {
if (x == 1) {
return 1;
}
else {
return x * (fact.apply(x-1));
}
};
public getFact(x) {
return fact.apply(x);
}
}