JavaTXCompilerInJavaTXNoMaven/resources/syntaxtreegenerator/Fac.ast

22 lines
238 B
Plaintext
Raw Normal View History

2024-05-02 21:04:07 +00:00
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(());
}
}