编写递归函数计算n(0

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/16 05:59:44

编写递归函数计算n(0

#include
long fac(int n)
{int i;
long x=1;
for(i=2;i