• 2022-06-17
    Use the following code to answer the following questions: int id = 0; cout [< "ID: "; cin ]> id; if (id == 1) cout << "Janet"; else if (id == 2 || id == 3) cout << "Mark"; else if (id == 4) cout << "Jerry"; else cout << "Sue"; (1) The above code display ____when the id variable contains the number 2? (2) The above code display ____when the id variable contains the number 4? (3) The above code display ____when the id variable contains the number 3? (4) The above code display ____when the id variable contains the number 8
  • Mark#Jerry#Mark#Sue

    内容

    • 0

      下面程序的运行结果___ #include “stdio.h” int id=3; void main { int id=5; { int id; id=7; printf(“id=%d\n”, id ); } printf(“id=%d\n”, id ); }

    • 1

      下来定义表的约束语法,错误的是() A: create table t1(id number primary key,name varchar2(10)) B: create table t1(id number constraint p_k primary key(id),name varchar2(10)) C: create table t1(id number constraint p_k primary key,name varchar2(10)) D: create table t1(id number,name varchar2(10),primary key(id))

    • 2

      执行语句“a,b=1,1”后,以下结论正确的是( )。 A: id(a)、id(b)、id(1)各不相等 B: id(a)=id(b),但不同于id(1) C: id(a)=id(1),但不同于id(b) D: id(a)、id(b)、id(1)均相等

    • 3

      What information is not necessary when checking in at a hotel? ( ) A: ID card number B: name C: working unit D: passport number

    • 4

      对下面程序描述正确的是()deletefromuserwhereidin(1,2)A.删除id=2的数据B.删除id=3的数据C.删除id=2或id=3的数据D.删除id不是2或3的数据