正在加载图片...
a[2]=4 a[3]=3 6.0016.0026.0036.0046.0056.00 【题7.103】【1】i=0;i<n;i++ 【2】j=i;jn;j+ 【3】s*=x[i][j 【题7.104】 The result=27648 【题7.105】9 【题7.106】600 【题7.107】【1】i<=7 【2】j=i+7 【题7.108】he 【题7.109】【1】 strlen(t) 【2】t[k]==c 【题7.10】【1】( strcmp(str[0],str[1])<o?str[o]:str[1])【2】s 【题7.111【1】a[0]=c-1 【2】a[2]=c+1 【题7.112】【1】t=a[5] 【2】a[i]=a[i-1] 【题7.113】【1】j++ 【2】a[i]>a[j] 【题7.114】【1】a[i]= 【2】k++ 【题7.115】【1】a[i]=s[i][o] 【2】a[i]=s[i][j 【题7.116】t*M 【题7.117】Sun:3 【题7.118】4 【题7.119】7078 【题7.120】 abcd 【题7.121】AzyD 【题7.122】#*% 【题7.123】AQM 【题7.124】PAGE 【题7.125】y1 【题7.126】# define nt a[m], c[5], i, n=0, X printf (" Enter 0 or 1 or 2 or 3 or 4, to end with -1\n") scanf(%d”,&x) while (x !=-1 if(x≥=0&&x<=4) scanf(“%d”,&x)a[2]=4 a[3]=3 【题 7.101】 9 7 5 5 3 1 【题 7.102】 The result is: 6.00 16.00 26.00 36.00 46.00 56.00 【题 7.103】 【1】i=0;i<n;i++ 【2】j=i;j<n;j++ 【3】s*=x[i][j]; 【题 7.104】 The result = 27648 【题 7.105】 9 【题 7.106】 600 【题 7.107】 【1】i<=7 【2】j=i+7 【题 7.108】 he 【题 7.109】 【1】strlen(t) 【2】t[k]==c 【题 7.110】 【1】(strcmp(str[0],str[1])<0?str[0]:str[1]) 【2】s 【题 7.111】 【1】a[0]=c-1 【2】a[2]=c+1 【题 7.112】 【1】t=a[5] 【2】a[i]=a[i-1] 【题 7.113】 【1】j++ 【2】a[i]>a[j] 【题 7.114】 【1】a[i]==’c’ 【2】k++ 【题 7.115】 【1】a[i]=s[i][0] 【2】a[i]=s[i][j] 【题 7.116】 t*M 【题 7.117】 Sun:3 Moon:4 【题 7.118】 4 【题 7.119】 7078 9198 【题 7.120】 aabcd 【题 7.121】 AzyD 【题 7.122】 #&*&% 【题 7.123】 AQM 【题 7.124】 PAGE 【题 7.125】 y12 【题 7.126】 #define M 50 main() { int a[M], c[5], i, n = 0, x; printf(“Enter 0 or 1 or 2 or 3 or 4, to end with –1\n”); scanf(“%d”, &x); while (x != -1) { if (x >= 0 && x <= 4) { a[n] = x; n++; } scanf(“%d”, &x);
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有