4526 |
#include <stdio.h> main( ) { int i,k,a[10],p[3]; k=5; for(i=0;i<10;i++) a[i]=i; f |
93 |
2024-07-11 |
4527 |
#include <stdio.h> main() { int i,a[6]; for (i=0; i<6; i++) a[i]=i; for (i=5; i>=0 |
57 |
2024-07-11 |
4528 |
#include <stdio.h> main() { int i, a[10]; for(i=9;i>=0;i--) a[i]=10-i; print |
32 |
2024-07-11 |
4529 |
#include <stdio.h> #define N 4 main( ) { int i,j; for(i=1;i<=N;i++) { for |
33 |
2024-07-11 |
4530 |
#include <stdio.h> main( ) { int x, y; for(x=30, y=0; x>=10, y<10; x--, y++) x/=2, |
21 |
2024-07-11 |
4531 |
#include <stdio.h> #define N 4 main() { int i; int x1=1,x2=2; printf("\n" |
75 |
2024-07-11 |
4532 |
#include <stdio.h> main() { int i,sum=0; i=1; do{ sum=sum+i; i++; }while(i<=10); prin |
74 |
2024-07-11 |
4533 |
#include <stdio.h> main() { int y=9; for(;y>0;y--) if(y%3==0) { printf(%d”, |
92 |
2024-07-11 |
4534 |
#include <stdio.h> main()_ { char grade=’C’; switch(grade) { case ‘A’: printf(“9 |
88 |
2024-07-11 |
4535 |
#include <stdio.h> main( ) { int a=1,b=0; scanf(“%d”,&a); switch(a) { case |
34 |
2024-07-11 |
4536 |
#include<stdio.h> main( ) { char ch; ch=getchar( ); switch(ch) { case ‘A |
59 |
2024-07-11 |
4537 |
#include <stdio.h> main() { int x, y =0; for(x=1;x<=10;x++) { if(y>=10) |
92 |
2024-07-11 |
4538 |
#include <stdio.h> main() { char c; while((c=getchar())!=’$’) { if(‘A’<=c&&c |
21 |
2024-07-11 |
4539 |
#include "stdio.h" main() {char c; c=getchar(); while(c!='?') {pu |
50 |
2024-07-11 |
4540 |
#include <stdio.h> main() { int s=0,a=5,n; scanf("%d",&n); do { s+=1; a=a-2; }wh |
97 |
2024-07-11 |
4541 |
#include <stdio.h> main() { int num,c; scanf("%d",&num); do {c=num%10; printf(&q |
51 |
2024-07-11 |
4542 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
39 |
2024-07-11 |
4543 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
37 |
2024-07-10 |
4544 |
#include <stdio.h> main() { int num=0; while(num<=2){ num++;printf("%d\n",n |
25 |
2024-07-10 |
4545 |
#include < stdio .h > main ( ) { float c=3.0 , d=4.0; if ( c>d ) c=5.0; |
76 |
2024-07-10 |
4546 |
#include <stdio.h> main() { float a,b,c,t; a=3; b=7; c=1; if(a>b) {t= |
27 |
2024-07-10 |
4547 |
#include <stdio.h> main() { int x=2,y=-1,z=5; if(x<y) if(y<0) z=0; else z=z+1; p |
74 |
2024-07-10 |
4548 |
#include <stdio.h> main() { int a=12, b=-34, c=56, min=0; min=a; if(min>b) |
81 |
2024-07-10 |
4549 |
#include <stdio.h> main() { int a=1,b=3,c=5; if (c==a+b) printf("yes\n"); |
89 |
2024-07-10 |
4550 |
已知 char x[]="hello", y[]={'h','e','a','b','e& |
97 |
2024-07-10 |