皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
下面程序的功能是:输入一些整数,编程计算并输出其中所有正数的和,输入负数时不累加,继续输入下一个数。输入零时,表示输入数据结束。要求最后统计出累加的项数。在[【1】处填写适当的表达式,使程序完整并符合题目要求。 #include "stdio.h" main() { int i=0,n,sum=0; printf("Input a number:"); scanf("%d",&n); while(【1】) {if(n>0) {sum=sum+n;i++;} printf("Input a number:"); scanf("%d",&n); } printf("sum=%d,count=%d\n",sum,i); }
A.
n!=0
B.
n==0
C.
1
D.
n<0
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】毛泽东第一次提出“新民主主义革命”科学概念的文章是( )
A.
《中国革命和中国共产党》
B.
《论联合政府》
C.
《在晋绥干部会议上的讲话》
D.
《新民主主义论》
【单选题】The doctor told him that he should take this medicine one pill at one time.
A.
told
B.
should take
C.
one
D.
one
【单选题】You should read the article as ____ as I do to know what the writer really wants to tell us.
A.
careful
B.
more careful
C.
carefully
D.
more carefully
【单选题】第一次提出新民主主义革命的科学概念的文章是( )
A.
《新民主主义论》
B.
《中国革命和中国共产党》
C.
《论新阶段》
D.
《论人民民主专政》
【简答题】附或有支出的债务重组,重组债务的账面价值与重组后债务的入账价值之间的差额,计入当期损益(营业外收人)。( )
【简答题】A.That one should think about the ideas while reading the words. B.That one should read only the title and important words. C.That one should always take notes. D.That one should read sequences of wor...
【单选题】7 When does the referee give the other team a free kick?
A.
When a player commits a foul.
B.
When the ball goes out of the sides of the pitch.
C.
When the ball leaves the ends of the pitch.
【单选题】新结晶器铜管倒锥度控制在()较为经济合理。
A.
0.3~0.5%
B.
0.5~0.8%
C.
1.0~1.3%
D.
1.3%以上
【单选题】毛泽东第一次提出“新民主主义革命”科学概念的文章是:
A.
《共产党人发刊词》
B.
《中国革命和中国共产党》
C.
《新民主主义论》
D.
《在晋绥干部会议上的讲话》
【单选题】第一次提出新民主主义革命的科学概念和总路线内容的文章是()
A.
《新民主主义论》
B.
《中国革命和中国共产党》
C.
《论新阶段》
D.
《论人民民主专政》
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题