#
试题名
热度
更新日期
1601 编写程序,实现从键盘上读入N个整数(1<N≤20),按从大到小输出这N个整数。 【输入格式】 两行:第一行是一个正整数 57 2024-07-22
1602 编写程序,利用循环嵌套实现在屏幕上输出如下由字符“#、@”构成的8×5(即8行,每行5个字符串)字串图案,每个字串 54 2024-07-22
1603 编写程序,实现从键盘上读入k个整数(0<k≤20),输出最小的那个数。 【输入格式】 两行:第一行是一个正整数表示k值 92 2024-07-22
1604 #include <stdio.h>   struct abc   {int a,b, c; };   main()   {struct abc s[2]={{1,2,3 31 2024-07-14
1605 #include<stdio.h>   struct cmplx   { int x;   int y;   } cnum[2]={1, 3, 2,7};   mai 29 2024-07-14
1606 #include<stdio.h>  main( )  {struct stu  {int num;  char a[5];  float score;  }m={1234,” 55 2024-07-14
1607 #include<stdio.h>  struct st  { int x;  int y;  } a[2]={5, 7, 2, 9} ;  main()  {  pr 70 2024-07-14
1608 #include <stdio.h>  char s[]=”ABCD”;  main()  { char *p;  for(p=s;p<s+4;p++)  printf(“%c 68 2024-07-14
1609 #include<stdio.h>  main( )  { static char a[ ]=”Program”, *ptr;  for(ptr=a, ptr<a+7; pt 64 2024-07-14
1610 #include <stdio.h>  main( )   { int a[ ]={1, 2, 3, 4, 5, 6};   int x, y, *p;   p 100 2024-07-14
1611 #include<stdio.h>  main()  { int arr[ ]={30,25,20,15,10,5}, *p=arr;  p++;  printf(“%d\n”, 79 2024-07-14
1612  #include<stdio.h>   main ( )   { int a[]={1, 2, 3, 4, 5} ;  int x, y, *p;  p=a;  x 97 2024-07-14
1613 #include <stdio.h>  main( )  { char s[]=”abcdefg”;  char *p;  p=s;  printf(“ch=%c\n”, 30 2024-07-14
1614 # include < stdio .h >  main ( )  { int x[ ] = {10, 20, 30, 40, 50 };  int *p  64 2024-07-14
1615  #include <stdio.h>   int max(int x, int y);   main()   { int a,b,c;   a=7;b=8;    75 2024-07-14
1616 #include <stdio.h>  unsigned fun6(unsigned num)  { unsigned k=1;  do  { k*=num%10;  num/= 47 2024-07-14
1617 #include <stdio.h>  int fac(int n)  { int f=1,i;  for(i=1;i<=n;i++)  f=f * i;  return(f) 79 2024-07-14
1618 #include <stdio.h>  nt fun(int a, int b)  { if(a>b) return(a);  else  return(b);  }  ma 78 2024-07-14
1619 #include <stdio.h>  int m=4;  int func(int x,int y)  { int m=1;  return(x*y-m);  }  mai 79 2024-07-14
1620 #include<stdio.h>  func(int x) {  x=10;  printf(“%d, ”,x);  }  main( )  { int x=20;  95 2024-07-14