若从键盘输入65 14<回车>,则下面程序的运行结果是 。#includeint main(){int m,n;printf("Enter m,n:");scanf("%d%d",&m,&n);while(m!=n){while(m>n) m-=n;while(n>m) n-=m;}printf("m=%d\n",m);return 0;}
查看答案
下面程序的运行结果是 。#includeint main(){int y=2,a=1;while(y--!=-1){do {a*=y; a++;}while(y--);}printf("%d,%d",a,y);return 0;}
下面程序的运行结果是 。#includeint main(){ int i,j;for(i=0;i<=3;i++){for(j=0;j<=5;j++)if(i==0||j==0||i==3||j==5) printf("*");else printf(" ");printf("\n");}return 0;}
下面程序的运行结果是 。#includeint main(){int i,j;for(i=4;i>=1;i--){for(j=1;j<=i;j++) putchar('#');for(j=1;j<=4-i;j++) putchar('*');putchar('\n');}return 0;}
下面程序的运行结果是 。#includeint main(){ int i=1;while(i<=15)if(++i%3!=2) continue;else printf("%d ",i);printf("\n");return 0;}