皮皮学,免费搜题
登录
搜题
【简答题】
给定,函数fun的功能是:在给定的9个正整数中找出按升序排列时处于中间的数,将原数据序列中比该中间数小的数用该中间数替换,位置不变,在主函数中输出处理后的数据序列,并将中间数作为函数值返回。 例如,有9个正整数:1 5 7 23 87 5 8 21 45 按升序排列时的中间数为:8 处理后主函数中输出的数列为:8 8 8 23 87 8 8 21 45 请选择在下画线处填入正确的语句,使程序得出正确的结果。 #include #define N 9 int fun(int x[]) { int i,j,k,t,mid,b[N]; for(i=0;i b[j]) k=j; if(k != i ) { t=b[i]; b[i]=b[k]; b[k]=t; } } mid=b[N/2]; for(i=0; i A. > B. < C. >= D. ==
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】Socrates accepted the death penalty to show______.
A.
his belief in his students.
B.
his contempt for conservatives.
C.
his recognition of the legal system.
D.
that he was not afraid of death.
【简答题】用 in, on, at , to填空 1. Janet was born _____ Rochester _____ December 22nd _____ 3 o'clock _____ the morning. 2. Rochester is _____ the state of New York _____ the United States. 3. he usually goes __...
【简答题】阅读表达。 (1) Da Shan, a Canadian, is  perhaps China's most famous foreigner. He  speaks  Chinese well. He was born in 1965. He (2) started to  learn  Chinese  when he studied at Toronto University. In or...
【简答题】阅读理解 ( l ) Da Shan, a Canadian, is perhaps China's most famous foreigner. He speaks Chinese well. He was born in 1965. He (2) started to learn Chinese when he studied at Toronto University. In order t...
【单选题】下列哪项不符合无菌物品的管理原则:
A.
无菌物品与非无菌物品分别放置
B.
无菌包上必须注明灭菌日期
C.
已打开过的无菌包48小时后必须重新灭菌
D.
取出的无菌敷料不得放回原容器内
E.
无菌包的有效期为7天
【简答题】一家公司的现金回收均由与其总部同处一个城市的银行处理。银行所要求的补偿性余额为100 000美元,且每天所处理的现金回收为750 000美元。公司正在考虑建立集中银行系统,其所要求的总补偿性余额为450 000美元,但会使现金回收天数加速两天。国债利率为6%,请问公司是否应该实施新系统?
【单选题】Socrates accepted the death penalty to show______.
A.
his belief in his students
B.
his contempt for conservatives
C.
his recognition of the legal system
D.
his fearlessness for death
【简答题】阅读表达。 (1) Da Shan, a Canadian, is perhaps China's most famous foreigner . He speaks Chinese well. He was born in 1965. He (2) started to learn Chinese when he studied at Toronto University. In order t...
【单选题】Socates accepted the death penalty to show ______.
A.
his belief in his students
B.
his contempt for conservatives
C.
his recognition of the legal system
D.
that he was not afraid of death
【多选题】理性典范,主要是指那些心理的个体意象格局向复杂理性提出的最完美的要求,包括人格各方面的和谐、充实和完全,可以说是心理的个体的一种以实现自身意象格局居中守正为目的的理想。它的起源,是哪两个非常重要的因素作用的结果()(《行为心理学》——冯绍群)
A.
生物本性
B.
社会禁忌
C.
社会发展
D.
心理发展
相关题目: