题目内容
以下程序运行后的输出结果是( )。#include void 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);}
查看答案
搜索结果不匹配?点我反馈