鸡翁
c语言例题
用函数fac 求N!(N的阶乘1*2*…*N) 计算1/1!+1/2!+…+1/10!#include <stdio.h>double fac(int n){ double s=1; int i; for (i=1;i<=n;i++){ ...
用函数fac 求N!(N的阶乘1*2*…*N) 计算1/1!+1/2!+…+1/10!#include <stdio.h>double fac(int n){ double s=1; int i; for (i=1;i<=n;i++){ ...