皮皮学,免费搜题
登录
搜题
【简答题】
编程:输入一个整数,计算该整数的位数,并输出位数。输入样例:12345输出样例:输入的是5位数请完善程序。(程序有1个空,答案一行写一个,不要添加多余的空格)#include int main( ){ int i=0,k,j; scanf("%d",&k); if(k==0) i=1; while( ) //注意,不要漏考虑k为负数的情况 { i++; k= k/10; } printf("输入的是%d位数\n", i);}提示:第二讨论题-----讨论一类赋值语句的特点,在置顶贴的回复中,有本题的相关内容。这一类赋值语句常用于循环中。
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】以下不属于唐宋八大家的历史人物是:
A.
韩愈
B.
欧阳修
C.
曾巩
D.
柳永
【简答题】What can be used to handle an oil spill?
【判断题】传感器的频率响应主要是在复频域内进行研究的。
A.
正确
B.
错误
【单选题】以下哪个作家不属于唐宋八大家的是
A.
韩愈
B.
欧阳修
C.
曾巩
D.
王维
【单选题】Which of the listed conditions can be used to determine if lube oil has been diluted by fuel? .
A.
Viscosity is decreased
B.
Octane number is altered
C.
Pump speed is decreased
D.
Blower’s speed is decreased
【单选题】Satellite tracking and remote communication systems can be used to
A.
reduce oil consumption.
B.
remove the obstacles on the road.
C.
call for help when one's car crashes.
D.
help drivers get out of a traffic jam.
【单选题】A lube oil filter can be used to remove most contaminants from lube oil. A contaminant which will remain in the lube oil after filtering is ____.
A.
acid
B.
fuel oil
C.
sediment
D.
water
【判断题】传感器的频率响应主要是在复频域内进行研究的。
A.
正确
B.
错误
【单选题】____ can be used to prevent hydraulic system overloaded or keep the pressure of oil outlet from pump constant
A.
Overflow valve
B.
Reducing valve
C.
Balancing valve
D.
Reducing valve or balancing valve
【判断题】变速器中的常啮合齿轮一般都采用直齿齿轮传动
A.
正确
B.
错误
相关题目: