Gregory: Let's take a coffee break, shall we?Flora:_______, but I can't.A、I wish I couldB、We shallC、Yes, let'sD、You will

Gregory: Let's take a coffee break, shall we?

Flora:_______, but I can't.

A、I wish I could

B、We shall

C、Yes, let's

D、You will


相关考题:

----Let’s go to the West Hill Park by taxi.---- Oh, it is not far away from here. We _______take a taxi.A. couldn’t B. mustn’t C. needn’t D. can’t

下列给定函数中,函数fun()的功能是:统计字符串中各元音字母(即A,E,I,O,U)的个数。注意:字母不分大小写。例如,输入THIs is a boot,则应输出是1 0 2 2 0。请改正程序中的错误,使它能得出正确的结果。注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。试题程序:include <conio.h>include <stdio.h>/*************found**************/fun(char *s, int num[5]){ int k, i=5;for(k=0;k<i;k++)/*************found**************/num [i]=0;for{;*s;s++){ i=-l;/*************found**************/switch(s){ case 'a': case 'A':{i=0;break;}case 'e': case 'E':{i=1;break;}case 'i': case 'I':{i=2;break;}case 'o': case 'O':{i=3;break;}case 'u': case 'U':{i=4;break;}}if(i>=0)num[i]++;}}main ( ){ char s1[81]; int num1[5], i;clrscr ();printf("\nPlease enter a string: ");gets (s1);fun{s1, num1);for(i=0;i<5;i++) printf("%d",num1[i]);printf ("\n");}

已知C源程序如下: include include void reverse(char S[]){ int C,i,J; f 已知C源程序如下:include<stdio. h>include<string. h>void reverse(char S[]){int C,i,J;for(i=0,j=strlen(s)-1;i<j;i++,j++){c=s[i];s[i]=s[j];s[j]=c;}}void getHex(int number,char s[]){int I;i=0;while(number>0){if(number%16<10)s[i++]=number%16+'0';elseswitch(number%16){case 10:s[i++]='A';break;case 11:s[i++]='B';break;case 12:s[i++]='C';break;case 13:s[i++]='D';break;case 14:s[i++]='E';break;case 15:s[i++]='F';break;default:printf("Error");break;}number/=16;}s[i]:'\o';reverse(s);}int main(){unsigned int number;int i=0:char s[50];printf("%s","please input number;\n");scanf("%d",&number):getHex(number,s);i=0;while(s[i])printf("%c",s[i++]);return 0;}画出程序中所有函数的控制流程图。

下面程序的运行结果是______。main(){ int i=0,j=10,k=2,s=0;{i+=k;if(i>j){printf("%d\n",s);break;}s+=i;}}

以下程序的输出结果是( )。 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.21D.程序陷入死循环

下面程序执行后,s的值是()。 int i=0,s=0; for (;;) { if(i==3||i==5) continue; if (i==6) break; i++; s+=i; };A.10B.13C.21D.死循环

若定义int i,a,k,s; 是死循环的是A.for (i=1;;i++) { if(i=-10) break; s=s+i; }B.k=0; do { k++; }while(k>0);C.i=0; while (1) { i++; if(i==20) break; }D.a=1; while(a<10) { if(a<5) continue; a++; }

以下程序段与其他作用不一样的是A.for(i=0,s=0;i<=100; i++) s=s+i;B.for(i=0,s=0; 1; s=s+i,i++) if(i>100) break;C.for(i=0,s=0; 1; s=s+i,i++) if(s>100) break;D.for(i=0,s=0;i<=100; s=s+i , i++) ;

3、下面程序执行后,s的值是()。 int i=0,s=0; for (;;) { if(i==3||i==5) continue; if (i==6) break; i++; s+=i; };A.10B.13C.21D.死循环