一道C语言程序题
c++吧
全部回复
仅看楼主
level 6
#include "stdio.h"
main ()
{
int x=9;
for (;x>0;x--){
if (x%3==0){
printf("%d",--x);
continue;
}
}
}
需要高手给我讲讲怎么算出输出结果。[Love]
2011年11月09日 00点11分 1
level 5
输出8 5 2
2011年11月09日 01点11分 2
level 5
if循环里为什么有continue?没有作用吧
2011年11月09日 01点11分 3
1