【简答题】下面程序的功能是:按规律将电文变成密码,即将字母A变成字母E,a变成e,即变成其后的第4个字母,W变成A,X变成B,Y变成C,Z变成D;非字母字符保持原状不变。如“boy”转换为“fsc”。从键盘输入一行字符,用换行符结束输入,输出其相应的密码。请填空。 #include int main( ) { char ch ; printf( " please enter:\n" ) ; ch = get...
【简答题】下面程序的功能是把从键盘输入的文件(用 @ 作为文件结束标志)复制到一个名为second.txt的新文件中。 #include FILE *fp; main() { char ch; if((fp=fopen( 1 ))==NULL) exit(0); while((ch=getchar())!='@') fputc(ch,fp); 2 ; }
【单选题】Vanity Fair has a sub-title. It is ____.
【简答题】下面的程序功能是:用 getchar() 输入一个字符,再用 putchar()将其 输出。 #include int main() { char ch; 1 ; 2 ; return 0; }
【简答题】Excuse me, Marcia, a reporten from Vanity Fair ________ all day. Could you speak to her now? A. phones B. has phoned C. has been phoning D. phoned
【单选题】Excuse me, Mary, a reporter from Vanity Fair _______ all day. Could you speak to her now?.
【简答题】下面的程序功能是:用 getchar() 输入一个字符,用 putchar() 输出一个字符。 #include int main() { char ch; 1 ; 2 ; return 0; }
【单选题】Vanity Fair has a sub-title. It is ____.
【简答题】下面程序为 if 语句第三种形式的应用,请调试。程序功能为:从键盘输入任意符号,判断是控制字符、数字、大写字母、小写字母还是其他字符。 (注意:调试时要考虑各类输入,并截图,即至少截图4张) #include main( ) { char c; c=getchar( ); if(c='0'&&c='A'&&c='a'&&c<='z') printf("lower letter\n"); else...
【单选题】Excuse me,Marcia, a reporter from Vanity Fair ________ all day. Could you speak to hernow?