阅读下面程序,写出其输出结果。
main()
{inti=5;
do
{switch(i%2)
{caes4:i--;break;
case6:i--;break;}
i--;
i--;
prinff("%2d",i);
}while(i>0);
}
【正确答案】:3 ; 1-l;switch语句中没有出现满足case的值。
阅读下面程序,写出其输出结果。main(){inti=5;do{switch(i%2){caes4:i--;break;case
📱 扫码体验刷题小程序
扫一扫使用我们的微信小程序