运行下面程序时,从键盘输入字母A,则输出结果是( )
运行下面程序时,从键盘输入字母A,则输出结果是( )
相关考题:
运行下面程序时,从键盘输入字母H,则输出结果是#includestdio.hmain(){ char ch;ch=getchar();switch(ch){case ′H′:printf("Hello!\n");case ′G′:printf("Good morning!\n");default:printf("Bye_Bye!\n");}}A.Hello!B.Hello! Good Moring!C.Hello! Good morning! Bye_Bye!D.Hello! Bye_Bye!
运行下面程序时,从键盘输入字母H,则输出结果是( )。A.B.C.D.A.AB.BC.CSXB 运行下面程序时,从键盘输入字母H,则输出结果是( )。A.B.C.D.A.AB.BC.CD.D
运行下面程序时,从键盘输入字母H,则输出结果是includemain(){ char ch;ch=getchar();s 运行下面程序时,从键盘输入字母H,则输出结果是 #include<stdio.h> main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello!\n"); case 'G':printf("Good morning!\n"); default:printf("Bye_Bye!\n"); } }A.Hello!B.Hello! GoodMoring!C.Hello! Goodmorning! Bye_Bye!D.Hello! Bye_Bye!
运行下面程序时,从键盘输入字母H,则输出结果是 main() { char ch; ch=getchar(); swimh(ch) {case'H':printf("Hello!\n"); case'G':printf("Good morning!\n"); default:printf("Bye_Bye!\n"); } }A.Hello!B.Hello! GoodMoring!C.Hello! Good moming! Bye_ye!D.Hello! Bye_ye!
在执行下述程序时,若从键盘输入字母H,则输出结果是()。 #include <stdio.h> int main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello! n"); case 'G':printf("Good morning! n"); } }
2、在执行下述程序时,若从键盘输入字母H,则输出结果是()。 #include <stdio.h> int main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello! \n"); case 'G':printf("Good morning! \n"); } }
21、运行下面程序时,从键盘输入字母I,则输出结果是(). #include <stdio.h> int main() { switch(getchar()) { case 'I':printf("I love\n"); case 'C':printf("Chnia!\n"); default:printf("You are OK!\n"); } return 0; }A.I love Chnia! You are OK!B.I loveC.ChinaD.I love Chnia! You are OK!