皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
以下程序是选出能被3整除且至少有一位是5的两位数,打印出所有的这样的数及其个数。请选择填空。 sub(int k,int n) {int a1,a2; a2=【1】; a1=k-【2】; if((k%3==0&&a2==5)||(k%3==0&&a1==5)) {printf("%4d",k);n++;return n;} else return -1; } main() {int n=0,k,m; for(k=10;k<100;k++) {m=sub(k,n); if(m!=-1) n=m; } printf("\nn=%d",n); }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】51单片机引脚中,用于输入/输出的引脚有( )个
A.
4
B.
8
C.
32
D.
256
【单选题】------ How’s your tour around the North Lake? Is it beautiful? ------ It _______ be, but it is now heavily polluted.
A.
will
B.
should
C.
would
D.
must
【简答题】Good morning, ladies and Gentlemen. Welcome to our train.
【单选题】根据网络写手的创作状态划分可以分为
A.
炫富型
B.
表演型
C.
炒作型
D.
美女型
【单选题】---How’s your tour around the North Lake? Is it beautiful? ---It ________ be, but it is now heavily polluted.
A.
will
B.
would
C.
should
D.
must
【单选题】植入人体内的止血纱布属于:( )
A.
第一类医疗器械
B.
第二类医疗器械
C.
第三类医疗器械
D.
都不对
【单选题】听力原文: Good morning, ladies and gentlemen. For this lecture, I am going to touch the. issue of slowdown of the world economy. The data has shown that in the past three months many economies in Asia enj...
A.
the rest of the world.
B.
Asia.
C.
the global business.
【单选题】日本式汽车制动试验台电动机功率为( )kW。
A.
2×3­~2×11
B.
2×0.7~2×2.2
C.
2×4­~2×12
D.
2×5­~2×10
【多选题】根据网络写手的创作状态划分,可以把较为成熟的网络写手分为哪三个类别()
A.
炫富型写手
B.
炒作型写手
C.
文人型写手
D.
表演型写手
E.
参与型写手
【单选题】— How’s your tour around the North Lake? Is it beautiful? — It ______ be, but it is now heavily polluted.
A.
will
B.
would
C.
should
D.
Must
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题