#include main() { int s=0,k; for(k=7;k>=0;k--) { switch(k) { case 1: case 4: case 7: s++; b#includemain(){ int s=0,k;for(k=7;k>=0;k--){ switch(k){ case 1:case 4:case 7: s++; break;case 2;case 3;case 6; break;case 0:case 5: s+=2; break;}}printf("s=
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 08:55:30
#include main() { int s=0,k; for(k=7;k>=0;k--) { switch(k) { case 1: case 4: case 7: s++; b#includemain(){ int s=0,k;for(k=7;k>=0;k--){ switch(k){ case 1:case 4:case 7: s++; break;case 2;case 3;case 6; break;case 0:case 5: s+=2; break;}}printf("s=
#include main() { int s=0,k; for(k=7;k>=0;k--) { switch(k) { case 1: case 4: case 7: s++; b
#include
main()
{ int s=0,k;
for(k=7;k>=0;k--)
{ switch(k)
{ case 1:
case 4:
case 7: s++; break;
case 2;
case 3;
case 6; break;
case 0:
case 5: s+=2; break;
}
}
printf("s=%d\n",s);
#include main() { int s=0,k; for(k=7;k>=0;k--) { switch(k) { case 1: case 4: case 7: s++; b#includemain(){ int s=0,k;for(k=7;k>=0;k--){ switch(k){ case 1:case 4:case 7: s++; break;case 2;case 3;case 6; break;case 0:case 5: s+=2; break;}}printf("s=
是这样?
#include
main()
{ int s=0,k;
for(k=7;k>=0;k--)
{ switch(k)
{ case 1:
case 4:
case 7: s++; break;
case 2:
case 3:
case 6: break;
case 0:
case 5: s+=2; break;
}
}printf("s=%d\n",s);
}