2、y);}#include#includevoidfun(char*s,chart[])forthequalityofreviewsandreview.Article26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans{int
3、i,n=0;for(i=0;s[i];i++)if(s[i]%2==0)t[n++]=s[i];t[n]=’ ’;}main(){chars[100],t[100];voidNONO();printf("PleaseenterstringS:");scanf("%s",s);fun(s,t);printf("Theresultis:%s",t);NONO();}voidNONO(){/*本函数用于打开文件,输入数据,调用函数,输出数据,关闭文件。*/chars[100],t[100];FILE*rf,*wf;inti;rf=fopen("K:\K181\24010004\
4、in.dat","r");wf=fopen("K:\K181\24010004\out.dat","w");for(i=0;i<10;i++){fscanf(rf,"%s",s);fun(s,t);fprintf(wf,"%s",t);}fclose(rf);fclose(wf);}#includedoublefun(intm){doublet=1.0;inti;for(i=2;i<=m;i++)forthequalityofreviewsandreview.Article26threview(a)theCCRAcompliance,whethercopiesof
5、checks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans/**********found**********/t+=1.0/k;->t+=1.0/i;/**********found**********/returnt;}main(){intm;printf("Pleaseenter1integernumber:");scanf("%d",&m);pr
6、intf("Theresultis%lf",fun(m));}#includevoidfun(inta,intb,long*c){intgw,sw,bw,qw;qw=b%10;bw=a%10;sw=b/10;gw=a/10;*c=qw*1000+bw+100+sw*10+gw;}main(){inta,b;longc;voidNONO();printf("Inputab:");scanf("%d%d",&a,&b);fun(a,b,&c);printf("Theresultis:%ld",c);NONO();}voidNONO(){/*本函数用于打开文件,输入数
7、据,调用函数,输出数据,关闭文件。*/FILE*rf,*wf;inti,a,b;longc;rf=fopen("K:\K181\24010006\in.dat","r");wf=fopen("K:\K181\24010006\out.dat","w");forthequalityofreviewsandreview.Article26threview(a)theCCRAcompliance,whe