文中的long 到底起什么作用啊!!!
#include<stdio.h>main()
{
int i=1,n;
long s=1;
printf("shuru n:\n");
scanf("%d",&n);
do
{
s=s*i;
i++;
}
while(i<=n);
printf("%d!=%d\n",n,s);
getch();
}
#include<stdio.h>
2012-12-07 15:01
2012-12-07 15:06

2012-12-07 15:09
2012-12-07 15:14

2012-12-07 15:29
2012-12-07 15:34
2012-12-07 19:10
2012-12-09 18:07