题目
#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);
}
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;
6
执行部分为:
case 2: y=-x ;
case 3:y=x*3 ; break;
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
- 1已知一个直角三角形斜边上的中线长为6cm,那么这个直角三角形的斜边长为_cm.
- 2请写出下面词语的近义词 茂盛( ) 招架( ) 清澈( ) 思索( )
- 3填空( )才尽 ( )效颦 ( )舞剑,意在( )
- 421 什么等于-57
- 5回旋加速器i粒子每做半个圆周运动给粒子加速一次,电场的方向要改变一次,为什么周期是T=2πm/qb,而不是二分之一T阿.粒子的运动时间是半个周期的时候他就要改变一次啊
- 6一瓶果汁7分之5升,喝了7分之3,还剩7分之2升,
- 7Elias trusted Mandela and he joined the ANC Youth League.
- 8与朱元思书中写听觉感受的句子是
- 9英语翻译
- 10在同温同压下,下列与气体体积大小有关的因素是( ) A.气体的种类 B.气体的分子数 C.分子本身的大小 D.分子间的平均距离
热门考点
- 1制浆造纸废水色度是怎么产生的
- 2办公室里,一桶水5升,第一天喝了5分之4升,第2天喝了它的5分之2,还剩多少升水?
- 3多项式ax五次方+bx三次方+cx-5中,当x=2时,它的值为7,当x=-2时,它的值是多少?
- 4periodic orbit如何翻译,在信号方面的
- 5已知A={x|x²-4mx+2m+6=0},B={x|x
- 6瞎子戴眼镜——多余的框框 (歇后语)
- 7六年级下册语文苏教版练习与测试
- 8长江之歌一共有( )个小节,它们之间( )关系,这是《话说长江》(栏目)的主题歌曲,作为词来讲,它十
- 9重为100N的物体(长方体)放在水平地面上,与地面的接触面积是0.1m2,现用一个大小为20N的力作用在物体中央,则物体对地面的压强( ) A.一定是1200Pa B.可能是1000Pa C.一定是
- 10求不定积分(x+1)/(x^2+xlnx)