网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
计算:20+19-18 -17 + 16 + 15 - 14 —13 + 12 + 11 …+4 + 3 -2 —-1=( )。
A. 10
B. 15
C. 19
D. 20
B. 15
C. 19
D. 20
参考答案
参考解析
解析:本题采用分组计算法。原式可分组为:20+(19 - 18 -17 + 16) + (15 -
14 -13 + 12) +(11 -10 -9 + 8)+ (7 —6 —5 + 4)+ 3 -2 -1,括号内的数字运算后为 0,所以原
式二20 + 3-2-1 = 20。答案为D选项。
14 -13 + 12) +(11 -10 -9 + 8)+ (7 —6 —5 + 4)+ 3 -2 -1,括号内的数字运算后为 0,所以原
式二20 + 3-2-1 = 20。答案为D选项。
更多 “计算:20+19-18 -17 + 16 + 15 - 14 —13 + 12 + 11 …+4 + 3 -2 —-1=( )。 A. 10 B. 15 C. 19 D. 20 ” 相关考题
考题
计算:(1)(-8)-(-1)(2)45+(-30)(3)-1.5-(-11.5)(4)-1/4-(-1/2)(5)15-[1-(-20-4)](6)-40-28-(-19)+(-24)(7)22.54+(-4.4)+(-12.54)+4.4(8) (2/3-1/2)-(1/3-5/6)(9)2.4-(-3/5)+(-3.1)+4/5(10)(-6/13)+(-7/13)-(-2)(11)3/4-(-11/6)+(-7/3)(12)11+(-22)-3×(-11)(13)(-0.1)÷1/2×(-100)(14)(-3/4)×(-2/3 - 1/3) ×0(15)(-2)3-32(16)23÷[(-2)3-(-4)](17)(3/4-7/8)÷(-7/8)(18)(-60)×(3/4+5/6)
考题
11.publicstaticvoidmain(String[]args){12.Integeri=uewInteger(1)+newInteger(2);13.switch(i){14.case3:System.out.println(”three”);break;15.default:System.out.println(”other”);break;16.}17.}Whatistheresult?()A.threeB.otherC.Anexceptionisthrownatruntime.D.Compilationfailsbecauseofanerroronline12.E.Compilationfailsbecauseofanerroronline13.F.Compilationfailsbecauseofanerroronline15.
考题
有如下程序 include main() { int a[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14
有如下程序 #include<stdio.h> main() { int a[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16)); int i,s=0; for(i=0;i<4;i++)s+=a[i][1]; printf("%d\n",s); }程序运行后的输出结果是______。A.11B.32C.13D.20
考题
单选题若有以下程序#include #define N 4void fun(int a[][N], int b[], int flag){ int i,j; for(i=0; i a[i][j]) : (b[i] a[i][j])) b[i] = a[i][j]; }}main(){ int x[N][N]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}, y[N],i; fun(x,y,1); for (i=0; i
A
1,2,3,4,13,14,15,16,B
4,8,12,16,1,5,9,13, C
1,5,9,13,4,8,12,16,D
13,14,15,16,1,2,3,4,
考题
单选题4,1,3,12,9,3,17,5,( )。A
12B
13C
14D
15
热门标签
最新试卷