精品文档---下载后可任意编辑1、#include int find(char *str){ char *fstr="the"; int i=0,j,n=0; while (str[i]
='\0'){for(______1______)//for(j=0; j='a' && c='v' && c0
n:-n) ; 2)n=fabs(n); while(n
=0) { ______ 2 ______// s=s+n%10; n=n/10; } printf("%d\n",s);}7、/#include void swap(______1______)//int *pa , int *pb{ /*交换两个数的位置*/ int temp; temp = *pa; *pa = *pb; *pb = temp;}void main(){ int a,b,c,temp; scanf("%d%d%d",&a,&b,&c); if(a>b) swap(&a,&b); if(b>c) swap(&b,&c); if(______2______)// a>b swap(&a,&b); printf("%d,%d,%d",a,b,c);}8、#include _______1______//long f(int n);void main(){ printf("%ld\n",f(30));}long f(int n){ if( ______2______ )// n==1||n==2 return 1; else return f(n-1)+f(n-2);}9、精品文档---下载后可任意编辑#include void main(){ char s[80]; int i,j; gets(s); for(i=j=0;______1_____