摘要: for循环语句 这个是一个累乘代码还可以 int n; scanf("%d",&n); int fact =1; int i =n; for(i>1;i--){ fact *= n; } printf("%d!\n",n,fact); 阅读全文