皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
t21: 使用VC++2010打开考生文件夹下modi1中的解决方案。此解决方案的项目中包含-一个源程序文件 modil.co在此,函数um的功能是:计算并输出以内最大的10个能被13或17整除的自然数之和。k的值由主函数传入,若K的值为500,则函数的值为4622. 请改正的错误,使它能得出正确的结果。注意,部分源程序在文件modi1c中。 不要改动main函数,不得增行或删行,也不得更改程序的结构! #include #include #include int fun(int k) { int m=0,mc=0, j; while((k>=2)&&(mc<10)) { /*************found**************/ if((k%13=0)||(k%17=0)) { m=m+k;mc++;} k--; /*************found**************/ return m; } void main() {system("CLS"); printf("%d\n ",fun(500)); }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】________应打开雷达真矢量显示方式。
A.
需要驾驶员迅速做出正确的避让决策时
B.
需要快速判断本船与目标船有否碰撞危险
C.
需要估算目标的CPA和TCPA时
D.
需要判断目标过去一段时间的运行轨迹
【判断题】All cultures require and value politeness, and the ways in which politeness is achieved may vary slightly.
A.
正确
B.
错误
【简答题】简述特征表说的主要观点。
【判断题】All cultures require and value politeness, but the ways in which politeness is achieved may vary significantly.
A.
正确
B.
错误
【判断题】SQL Server中必须包含次要数据文件。 ()
A.
正确
B.
错误
【判断题】All cultures require and value politeness, but the ways in which politeness is achieves may vary significantly.
A.
正确
B.
错误
【判断题】All cultures require and value politeness, but the ways in which politeness is achieved may vary significantly.
A.
正确
B.
错误
【判断题】Are all the sub-maxims of politeness principle equally important?()
A.
正确
B.
错误
【判断题】若含参量反常积分【图片】 在区间【图片】上收敛且【图片】在区间【图片】上内闭一致收敛,【图片】【图片】都连续,则【图片】在区间【图片】上一致收敛
A.
正确
B.
错误
【单选题】Politeness is a(n) ____ phenomenon among all the social groups, but it is marked by different cult
A.
4.Politeness is a(n) ____ phenomenon among all the social groups, but it is marked by different cultures. A.steady
B.
complete
C.
universal
D.
Original
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题