#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/04/28 06:42:22
#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(#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);
}