摘要:
include<stdio.h> int main() /{ int year; scanf("%d",&year); if(year%40 && year%100!=0) { printf("%d这个年份是闰年\n",year); } else if(year%4000) { printf("%d 阅读全文
摘要:
include <stdio.h> int jc (int num); int jc2 (int num); int main() { int n; n = jc(10); printf("%d\n", n); } int jc (int num) { int j = 1, i; for (i = 阅读全文
摘要:
include<stdio.h> int main() {int x,y; for(x=1;x<=9;x++) {for(y=9;y>=x;y--) printf("%d%d=%-3d",x,y,xy); printf("\n"); return 0; }} 阅读全文
摘要:
include<stdio.h> int main() { int a=1,b=1; while(a--); printf("%d\n",a); while(--b); printf("%d\n",b); } 阅读全文
摘要:
include<stdio.h> int main() { int a; char b; double c; printf("%d\n",sizeof a); printf("%d\n",sizeof b); printf("%d\n",sizeof c); printf("%d\n",sizeof 阅读全文
摘要:
include<stdio.h> int main() { int a,b,c,d; printf("请输入三个数字:"); scanf("%d %d %d",&a,&b,&c); if(a>b) { d=a;a=b;b=d; } if(a>c) { d=a;a=c;c=d; } if(b>c) { 阅读全文
摘要:
include<stdio.h> int main() { printf("hello world!\n"); } 阅读全文