求一直到某数的阶乘和#includevoid wwjt();long int fun(int n){//}main(){int n;long int result;scanf("%d",&n);result=fun(n);printf("%ld\n",result);wwjt();}void wwjt(){FILE *IN,*OUT;int i;int iIN;long int iOUT;IN=fopen("in.dat","r");if(IN==NULL
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 01:45:10
求一直到某数的阶乘和#includevoid wwjt();long int fun(int n){//}main(){int n;long int result;scanf("%d",&n);result=fun(n);printf("%ld\n",result);wwjt();}void wwjt(){FILE *IN,*OUT;int i;int iIN;long int iOUT;IN=fopen("in.dat","r");if(IN==NULL
求一直到某数的阶乘和
#include
void wwjt();
long int fun(int n)
{
//
}
main()
{
int n;
long int result;
scanf("%d",&n);
result=fun(n);
printf("%ld\n",result);
wwjt();
}
void wwjt()
{
FILE *IN,*OUT;
int i;
int iIN;
long int iOUT;
IN=fopen("in.dat","r");
if(IN==NULL)
{
printf("Please Verify The Currernt Dir..It May Be Changed");
}
OUT=fopen("out.dat","w");
if(OUT==NULL)
{
printf("Please Verify The Current Dir..It May Be Changed");
}
for(i=0;i
求一直到某数的阶乘和#includevoid wwjt();long int fun(int n){//}main(){int n;long int result;scanf("%d",&n);result=fun(n);printf("%ld\n",result);wwjt();}void wwjt(){FILE *IN,*OUT;int i;int iIN;long int iOUT;IN=fopen("in.dat","r");if(IN==NULL
我一直不知道什么是阶乘啊