题目内容
有以下程序:
include<stdio.h>,
main()
{int S;
scanf("%d",&s);
while(s>O)
{switch(s)
{case l:printf("%d",s+5);
case 2:printf("%d",s+4);break;
case 3:printf("%d",s+3);
default:("%d",s+1);break;
}
scanf("%d",&s);
}
}
运行时,若输入1 2 3 4 5 0<回车>,由输出结果是()。
查看答案
搜索结果不匹配?点我反馈