下面的程序输出结果为false是( )
A: int a= 3;bool b = a==3;Console.WriteLine(b);
B: int a= 3;bool b = a>;=3;Console.WriteLine(b);
C: int a= 3;bool b = a<;=3;Console.WriteLine(b);
D: int a= 3;bool b = a!=3;Console.WriteLine(b);
A: int a= 3;bool b = a==3;Console.WriteLine(b);
B: int a= 3;bool b = a>;=3;Console.WriteLine(b);
C: int a= 3;bool b = a<;=3;Console.WriteLine(b);
D: int a= 3;bool b = a!=3;Console.WriteLine(b);
举一反三
- 下面的程序输出结果为True的是( ) A: int a = 3;int b = 4;Console.WriteLine(a==4 && b==4) B: int a = 3;int b = 4;Console.WriteLine(!(a==3) ) C: int a = 3;int b = 4;Console.WriteLine(!(a==3) || b==3) D: int a = 3;int b = 4;Console.WriteLine(a==3 || b==3)
- 写出下面程序段运行时的输出结果。 double a=17.9; int b=3; b=(int )a%5; Console. WriteLine(b);
- 表达式f=\xy-(3*x+1,yx) 的可能类型是 A: Int - Int - (Int, Bool) B: Float - Float - (Float, Bool) C: Int - (Int, Bool) D: Int - Int - (Integer, Bool)
- map可以具有哪些类型? A: (Int - Bool) - [Int] - Bool B: (Int - Bool) - [Int] - [Bool] C: (Int - Bool) - [Integer] - [Bool] D: (Char - Bool) - String - [Bool]
- 写出下列程序的运行结果 void main() { int a=2,b=3,c=4; a*=16+(b++)-(++c); Console.WriteLine(a); }