请问为什么会输出第三行
以下程序运行时,从键盘输入:01<回车>,程序执行后的输出结果为什么是another
number
number
#include
int main()
{
char k;
int i;
for(i=1;i<3;i++)
{
scanf("%c",&k);
switch(k)
{
case '0': printf("another\n");
case '1': printf("number\n");
}
}
return 0;
}
2019-01-17 22:34
2019-01-17 23:59