当前位置: > #include void main() { int x=2,y; switch(x) { case 1:y=x ; break; case 2:y=-x ; case 3:...
题目
#include void main() { int x=2,y; switch(x) { case 1:y=x ; break; case 2:y=-x ; case 3:
y=x*3 ; break;
case 4:y=4*x;
printf(“%d ”,y);
}

提问时间:2020-11-20

答案
输出:
6
执行部分为:
case 2: y=-x ;
case 3:y=x*3 ; break;
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.