51,411
社区成员
发帖
与我相关
我的任务
分享
//100的阶乘
double factorial(int n)
{
if (n == 0)
{
return 1;
}
else
{
return n * factorial(n - 1);
}
}
而且赶脚有点麻烦了...