I had a sandwich before I played tennis, __ I'm very hungry now.A. butB. andC. so

I had a sandwich before I played tennis, __ I'm very hungry now.

A. but

B. and

C. so


相关考题:

I’ll give him your message___he comes back from lunch. A. untilB. as soon asC. whileD. before

I _____my breakfast at 8, but_____ I lunch yet. .A. had, haven't hadB. had, didn't haveC. have had, didn't have

I _______ him study hard until he passes the exam. A.askB.madeC.letD.had

—I'd met Smith several times before.—So (have) ( ) I.

A:I'm keen on football.B: So ( )I.A. haveB. doC. am

—Why didn't you go to the cinema yesterday?—I______, but my daughter returned from America the moment I was leaving.A. didB. wouldC. was going toD. had

22、假设整型变量n,m,i已经声明和赋值,且大于n>2.有如下运算规则:如果n是素数,m=0;否则,m=n。如下程序中正确实现此运算的是?A.m=n; for(i=2;i<n;i++) if(n%i==0){ m=0;break; }B.m=0; for(i=2;i<n;i++) if(n%i==0){ m=n;break; }C.m=0; for(i=2;i<n;i++) if(n%i==0){ m=n;continue; }D.m=n; for(i=2;i<n;i++) if(n%i==0){ m=0;continue; }

下面()仅输出m的大于1的最小因子。A.for (i =2; i<=m-1; i++) if (m % i == 0) { printf("%d is 最小因子n", i); break; }B.for (i =2; i<=m-1; i++) if (m % i == 0) { printf("%d is 最小因子n", i); continue; }C.for (i =2; i<=m-1; i++) if (m % i == 0) { printf("%d is 最小因子n", i); }D.i=2; while (m % i != 0) i++; printf("%d is 最小因子n", i);

下面()是正确的判断素数程序(m>1)。A.j=0; for (i =2; i<=m-1; i++) if (m % i != 0) j++; if(j==m-2) printf(“%d是素数n", m);B.j=0; for (i =2; i<=m-1; i++) if (m % i == 0) j++; if(j==0) printf(“%d是素数n", m);C.flag=0; for (i =2; i<=m-1; i++) if (m % i == 0) flag=1; if(flag==0) printf(“%d是素数n", m);D.for (i =2; i<=m-1; i++) if (m % i == 0) i=m+2; if(i==m+3) printf(“%d是素数n", m);

假设整型变量n,m,i已经声明和赋值,且大于n>2.有如下运算规则:如果n是素数,m=0;否则,m=n。如下程序中正确实现此运算的是?A.m=n; for(i=2;i<n;i++) if(n%i==0){ m=0;break; }B.m=0; for(i=2;i<n;i++) if(n%i==0){ m=n;break; }C.m=0; for(i=2;i<n;i++) if(n%i==0){ m=n;continue; }D.m=n; for(i=2;i<n;i++) if(n%i==0){ m=0;continue; }