皮皮学,免费搜题
登录
搜题
【简答题】
程序实现功能:从键盘输入10个数,利用数组分别按正序和逆序将其输出。下面为程序的主要部分,请补充完整并验证结果。将填空的两行For语句粘贴到答题框 源程序: #include void main() { int i,a[10]; printf("input 10 numbers:\n"); for(i=0;i<10;i++) scanf("%d",&a[i]); for( ; ; )//正序输出10个数 printf("%2d",a[i]); printf("\n"); for( ; ; )//逆序输出10个数 printf("%2d",a[i]); printf("\n"); return 0; } 思考:如果实现将此10个数按逆序的顺序存入数组a中,程序应该如何修改?
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】根据2015年AHA心肺复苏指南,成人基础生命支持时胸外按压的深度应为
A.
2~3cm
B.
3~4cm
C.
4~5cm
D.
5~6cm
E.
>6cm
【单选题】Most of the animals have little connection with animals of a different kind, unless they hunt them for food. Sometimes, however, two kinds of animals come together in a partnership which is good for b...
A.
they can eat its parasites
B.
they enjoy traveling with the sheep
C.
they depend on the sheep for existence
D.
they find the position most comfortable
【单选题】Most of the animals have little connection with animals of a different kind, unless they hunt them for food. Sometimes, however, two kinds of animals come together in a partnership which is good for b...
A.
they can eat its parasites
B.
they enjoy traveling with the sheep
C.
they depend on the sheep for existence
D.
they find the position most comfortable
【单选题】根据2010年AHA心肺复苏指南,成人基础生命支持时胸外按压的深度应为
A.
3cm
B.
4cm
C.
5cm
D.
6cm
【判断题】货币的占有人就是货币的所有权人。
A.
正确
B.
错误
【单选题】猝死时的基础生命支持,胸外按压的深度为()
A.
4~5cm
B.
1~2cm
C.
2~3cm
D.
6~7cm
【简答题】B Most of the animals have little connection with animals of a different kind, unless they hunt them for food. Sometimes, however. two kinds of animals.come together in a partnership which is good for...
【单选题】Most of the animals have little connection with animals of a different kind, unless they hunt them for food. Sometimes, however, two kinds of animals come together in a partnership (伙伴关系) which is goo...
A.
they can eat its parasites
B.
they enjoy travelling with the sheep
C.
they depend on the sheep for existence
D.
they find the position most comfortable
【单选题】大众轿车的发动机采用热膜式进气流量传感器,技师甲说当进气流量传感器电路断路时,PCM会存储故障码,并采用替代值,根据发动机转速、节气门开度和进气温度计算替代值。技师乙说当进气流量传感器电路断路时,PCM会存储故障码,并采用替代值,根据节气门开度计算替代值
A.
甲正确
B.
乙正确
C.
甲和乙都不正确
D.
甲和乙都正确
【单选题】技师甲说当进气流量传感器电路断路时,PCM会存储故障码,并采用替代值,根据发动机转速、节气门开度和进气温度计算替代值。技师乙说当进气流量传感器电路断路时,PCM会存储故障码,并采用替代值,根据节气门开度计算替代值
A.
甲正确
B.
乙正确
C.
甲和乙都不正确
D.
甲和乙都正确
相关题目: