以下程序的运行结果是()
A: error
B: good
C: error.good
D: warn
A: error
B: good
C: error.good
D: warn
举一反三
- 以下程序的运行结果是() A: pass B: warn C: passwarn D: error
- 请阅读下面的代码,此段代码运行的结果是() A: t time = 3 ; B: itch(time) C: se "1": Console.WriteLine("Good morning!"); break; case "2": Console.WriteLine("Good afternoon!"); break; case "3": Console.WriteLine("Good night!"); break; default: Console.WriteLine("Selection error!"); <br>break; D: Good morning! E: Good afternoon! F: Good night! G: Selection error!
- 以下程序的输出结果是:a =10b =1try:c=b//(b/a)print(except (IOError ,ZeroDivisionError):print( " calculation error" )else:print(" no error" )} A: calculation error B: no error C: 9.0 D: 9.0no error
- 下面程序段的输出结果是______。 int n= int n='c'; switch(n++) {default: printf("error"); break; case 'a': case 'A': case 'b': case 'B': printf("good"); break; case 'c': case 'C': printf("pass"); case 'd': case 'D': printf("warn"); }
- 以下程序的运行结果是( )main(){ int j;j=20;for( ; j>=0 ; j-=20){ if( j ) printf(“Good!” );else printf(“Not good!”);}} A: Good!Good! B: Not good! C: Good! D: Good! Not good!