float jiecheng(int n) {
int num;
if (n==0 || n==1) {
num = 1;
} else {
num = n * jiecheng(n-1);
}
return num;
}
Last modification:October 20, 2022
© Allow specification reprint