编写递归函数计算n(0

来源:学生学帮网 编辑:学帮网 时间:2024/06/05 06:05:08

编写递归函数计算n(0

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