急求c语言编程:1!+3!+5!+7!+9!。谢谢各位了,拜托了、、

日期:2022-03-29 15:34:37 人气:1

急求c语言编程:1!+3!+5!+7!+9!。谢谢各位了,拜托了、、

#include
<stdio.h>
int
f1(int
n)
//计算阶乘
(n!)
{
if(n<=1)
return
1;
else
return
f1(n-1)*n;
}
int
f2(int
n)
    A+
热门评论