JavaTXCompilerInJavaTXNoMaven/resources-back/syntaxtreegenerator/Fac.ast
2024-05-02 23:04:07 +02:00

22 lines
238 B
Plaintext

class Fac {
Fac(){
super(());
}
TPH BSTE getFac(TPH BSTF n){
TPH BSTG res;
res = 1;
TPH BSTI i;
i = 1;
while(i op n){
res = res op i;
i++;
};
return res;
}
Fac(){
super(());
}
}