int SUB(int x)
{
if (x > 1)
{
return x *SUB(x - 1);
}
else
return 1;
}
int main()
{
int i = 0;
scanf("%d", &i);
int j = SUB(i);
printf("%d! = %d",i,j);
return 0;
}
03-09
4289
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)