• 2022-07-26 问题

    若a和b均是整型变量,以下正确的switch语句是( )。 A: switch(a/b) {case 0:case1.5:y=a+b;break; case 2:case 3:y=a-b; } B: switch(a*a+b*b); { case0:y=a+b;break; case1:y=b-a;break; } C: switch a {case 0:x=a+b; case 1:y=a-b;break;} D: switch(a+b) {case 0:x=a+b;break; case 1:y=a-b;break; }

    若a和b均是整型变量,以下正确的switch语句是( )。 A: switch(a/b) {case 0:case1.5:y=a+b;break; case 2:case 3:y=a-b; } B: switch(a*a+b*b); { case0:y=a+b;break; case1:y=b-a;break; } C: switch a {case 0:x=a+b; case 1:y=a-b;break;} D: switch(a+b) {case 0:x=a+b;break; case 1:y=a-b;break; }

  • 2022-06-18 问题

    智慧职教: 分析下面代码:      (        ) int x; double d = 1.5; switch (d) {   case 1.0: x = 1;   case 1.5: x = 2;   case 2.0: x = 3; }

    智慧职教: 分析下面代码:      (        ) int x; double d = 1.5; switch (d) {   case 1.0: x = 1;   case 1.5: x = 2;   case 2.0: x = 3; }

  • 2022-06-05 问题

    The case of noun are mainly ____________. A: accusative case B: dative case C: possessive case D: nominative case

    The case of noun are mainly ____________. A: accusative case B: dative case C: possessive case D: nominative case

  • 2022-06-09 问题

    Take this with you________you get into trouble. A: in case B: in the case C: in case of D: in no case

    Take this with you________you get into trouble. A: in case B: in the case C: in case of D: in no case

  • 2022-06-07 问题

    Be quiet ______ you wake the baby. A: in case of B: in any case C: in the case D: in case

    Be quiet ______ you wake the baby. A: in case of B: in any case C: in the case D: in case

  • 2022-06-18 问题

    ______ fire, ring the alarm bell. A: In the case of B: In any case C: In no case D: In case of

    ______ fire, ring the alarm bell. A: In the case of B: In any case C: In no case D: In case of

  • 2022-06-10 问题

    Take your skates _____ you decide to go skating. A: in no case B: in case of C: in case D: in the case of

    Take your skates _____ you decide to go skating. A: in no case B: in case of C: in case D: in the case of

  • 2022-06-10 问题

    Write the telephone number down ____ you forget . A: in case of B: in case C: in a case D: in one case

    Write the telephone number down ____ you forget . A: in case of B: in case C: in a case D: in one case

  • 2022-06-04 问题

    case ,其中的表达式不正确的为( ) A: Case 100*a B: Case 0 To 100 C: Case Is<100 D: Case 0

    case ,其中的表达式不正确的为( ) A: Case 100*a B: Case 0 To 100 C: Case Is<100 D: Case 0

  • 2021-04-14 问题

    下面程序段的输出结果是______。 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"); }

    下面程序段的输出结果是______。 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"); }

  • 1 2 3 4 5 6 7 8 9 10