2019-04-01 21:47:48
关于 5 的阶乘 任意数的阶乘
int main(){ int t; int i; i=1; t=2; int n; scanf("%d",&n); while(i<=5){ while(i<=n) t=t*i; i++; } printf(%d",t); return 0; }
来源: http://www.bubuko.com/infodetail-3007945.html