The bidders shall furnish a performance bond () than 2% of the total bid price.
A、not lest
B、no more
C、not much
D、no less
第1题:
第2题:
若要实现total=1+2+3+4+5求和,以下程序段错误的是()
A.int i=1,total=1; while(i<5) { total+=i; i+=1; }
B.int i=1,total=0; while(i<=5) { total+=i; i+=1; }
C.int i=0,total=0; while(i<5) { i+=1; total+=i; }
D.int i=0,total=0; while(i<=5) { total+=i; i+=1; }
第3题:
在total=0前提下,以下for语句中,不能完成1~10的累加功能的是:
A.for i in range(10,0): total += i
B.for i in range(1,11): total += i
C.for i in range(10,0,-1): total +=i
D.for i in (10,9,8,7,6,5,4,3,2,1): total +=i
第4题:
下面哪个语句不能完成1到10的累加功能, total初值为0。
A.for i in range(10,0):total+=i
B.for i in range(1,11):total+=i
C.for i in range(10,0,-1):total+=i
D.for i in (10,9,8,7,6,5,4,3,2,1):total+=i
第5题:
34、若要实现total=1+2+3+4+5求和,以下程序段错误的是()
A.int i=1,total=1; while(i<5) { total+=i; i+=1; }
B.int i=1,total=0; while(i<=5) { total+=i; i+=1; }
C.int i=0,total=0; while(i<5) { i+=1; total+=i; }
D.int i=0,total=0; while(i<=5) { total+=i; i+=1; }