What's your present job?()
A. I am 24 years old.
B. I just graduated from college.
C. I'm a film-maker.
有以下程序 main() { int i=0,s=0; for(;;) { if(i==3‖i==5) continue; if(i==6) break; i++; s+=i; }; printf("%d\n",s); } 程序运行后的输出结果是A.10B.13C.24D.程序进入死循环
点击查看答案
- What’s the purpose of your visit today -()A、Uh, I’m not sure.B、I’m intending to ask for your advice on brand design.C、Yes, I’d like to talk with you.
What's ( )job? Are ( ) British?A. your, yourB. you, yourC. your, you
A:I'm keen on football.B: So ( )I.A. haveB. doC. am
以下能正确计算1+2+3+…+10的程序段是 。A.i=1; s=1; do {s=s+i; i++;} while (i<10);B.do {i=1;s=0; s=s+i; i++;} while (i<=10);C.do {i=1;s=1; s=s+i; i++;} while (i<=10);D.i=1,s=0; do {s=s+i; i++;} while (i<=10);E.i=1; s=1; do {s=s+i; i++;} while (i<=10);F.i=1,s=0; do {s=s+i; i++;} while (i<10);
下列程序段运行后的输出结果是?int s = 1, i = 0; for (i = 0; i < 5; i++) s *= i; printf("%dn", s);A.120B.24C.0D.5
7、第三章 以下为求1到100(包括100)以内所有偶数积的算法,从中选出描述正确的算法()A.①s=1;②i=0;③i=i+2; ④s=s*i; ⑤如果i<100 >B.①s=0;②i=0;③s=s*i; ④i=i+2; ⑤如果i<100 >C.①s=0;②i=0;③i=i+2; ④s=s*i; ⑤如果i<100 >D.①s=1;②i=0;③s=s*i; ④i=i+2; ⑤如果i<100 >