如下程序的输出结果是______。 #include<stdio.h> main() { int x,a=3,b=4; for(x=0;x<3;x++) { switch(x) { case 0:a--; case 1:b--; case 2:break; case 3:a--;b--; } } printf('a=%d,b=%d/n',a,B) ; }
A.
a=2,b=2
B.
a=3,b=3
C.
a=1,b=2
D.
a=3,b=2
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【判断题】Opportunity costs as well as costs of storing,insuring,and handing are incurred when inventory doesn't exists.
【简答题】When a blanket rate structure is used, which factor is eliminated as a locational determinant?A. inventory costs B. transportation rateC. raw material sources D. market sources答案 B
【判断题】Transportation and inventory costs are often critical supply chain cost drivers, particularly when inventory levels must be kept fairly high to ensure high service levels.
【判断题】When inventory costs are rising, a company using the LIFO costing method will generally pay less taxes than if the company had been using the FIFO method.