皮皮学,免费搜题
登录
搜题
【简答题】
完善程序: 输入一组整数(数据个数在1~10之间),输出该组数据的和。要求定义并调用函数sum(int a[],int n)实现求数组a中n 个元素的和,并返回求得的结果。 输入输出示例(运行2次) 第一次运行: 请输入数据个数n(1≤n≤10): 5 请输入这5个数: 3 5 2 9 6 这些数的和是:25 第二次运行: 请输入数据个数n(1≤n≤10): 3 请输入这3个数: 6 7 8 这些数的和是:21 需要完善的源程序如下: #include “stdio.h” int sum(int a[],int n) { } void main() { int i,a[10],n,x,t; printf(“请输入数据个数n(1≤n≤10):”); scanf(“%d”,&n); printf(“请输入这%d个数:”,n); for(i=0;i
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】在图示梁上作用一力偶,其力偶矩为Me。则支座A、B的约束力满足条件()。
A.
A
B.
B
C.
C
D.
D
【多选题】以下所列属于汇总原始凭证的有( )
A.
科目汇总表
B.
限额领料单
C.
工资结算汇总表
D.
收料凭证汇总表
【多选题】以下所列属于汇总原始凭证的有
A.
科目汇总表
B.
限额领料单
C.
工资结算汇总表
D.
收料凭证汇总表
E.
汇总付款凭证
【单选题】中国古代文化中的“仁”的中心思想是( )。
A.
爱人
B.
人心
C.
诚信
D.
谦让
【单选题】【2012-37】某技术方案的净现金流量如下表。则该方案的静态投资回收期为( )年。 计算期(年) 0 1 2 3 4 5 6 净现金流量(万元) - -1500 400 400 400 400 400
A.
3.25
B.
3.75
C.
4.25
D.
4.75
【单选题】传统信息资源检索技术中常用的布尔逻辑运算符中不包括()。
A.
B.
C.
D.
异或
【判断题】自由空间中,若收发两点间的距离增加一倍,则电波的传播损耗6dB。
A.
正确
B.
错误
【单选题】It seems that manufacturers will remain reluctant to make improvements unless______.
A.
they can do so at a very low cost
B.
they find their machines hard to operate
C.
they have difficulty selling their products
D.
they receive a lot of complains about their machines
【单选题】'인백지기천지(人百之己千之)'라는 말이 있다. 이 말은 '다른 사람들이 백을 노력할 때 자신은 천을 노력한다'는 뜻으로 신라시대 유명한 작가가 남긴 말이다. 그 작가의 이름은?
A.
원효
B.
최치원
C.
이규보
D.
박지원
【单选题】— How do the shops make money if they sell at such low prices? — Manufacturers, it seems, are willing to bring down prices ________ big volume purchases. [     ]
A.
under the name of
B.
on behalf of
C.
in return for
D.
in preparation for
相关题目: