题目内容

写出程序输出结果#include void main(){int i,j,m=55;for(i=1;i<=3;i++)for(j=3;j<=i;j++)m=m%j;printf("m=%d\n",m);}

查看答案
更多问题

写出程序输出结果。#includemain(){int x,y;for (y=1,x=1;y<=50;y++){if (x>=10)break;if (x%2==1){x+=5;continue;}x-=3;}printf (“%d”,y);}

写出程序运行结果。#include main(){int i=0;for(i+=3;i<=5;i+=2){switch(i%5){case 0: printf("*");case1: printf("#");break;default:printf("!");break;case2: printf("&");}}}

写出程序运行结果。#include main( ){int y;for (y=9;y>0;y--){if (y%3== 0){printf (“%d\n”,y);continue;}}}

写出程序输出结果#include void main(){int i;for(i=1;i<5;i++){if(i= =3)break;}printf("i=%d\n",i);}

答案查题题库