单选题"假设x=2.3456,则执行代码Print Format(x,""00##.0%"")后窗体上的结果为()。"A2.3%B234.6%C0234.0%D0234.6%
单选题
"假设x=2.3456,则执行代码Print Format(x,""00##.0%"")后窗体上的结果为()。"
A
2.3%
B
234.6%
C
0234.0%
D
0234.6%
参考解析
解析:
暂无解析
相关考题:
设x=4,y=6,则以下不能在窗体上显示出“A=10”的语句是( )。A.Print A=x+yB.Print"A=";x+yC.Print "A="+Str(x+y)D.Print"A="x+y
( 18 )设 x=4 , y=6 ,则下列不能在窗体上显示出 “ A=10 ” 的语句是( )。A ) Print A=x+yB ) Print"A=";x+yC ) Print"A="+Str(x+y)D ) Print"A="x+y
执行下列程序后,鼠标单击窗体,输出结果为 。Private Sub Form_Click()Print "Click";End SubPrivate Sub Form_MouseDown(Button As Integer, Shift _As Integer, X As Single, Y As Single)Print "Donw"End SubPrivate Sub Form_MouseUp(Button As Integer, Shift _As Integer, X As Single, Y As Single)Print " Up"End Sub( )。A.DownUpClickB.ClickDownUpC.DownClickUpD.UpDownClick
有如下事件过程: Prirate Sub Form_Click() A$="123": B$="456" x=Val(A$)+Val(B$) Print x\100 End Sub 程序运行后,单击窗体,则窗体上显示的内容是______。A.123B.3C.5D.579
设x=4,y=6,则以下不能在窗体上显示出“a=10”的语句是______。A.Prim A=x+yB.Print "A=";x+yC.Print "A=" +str(x+y)D.Print "A="X+y
对窗体编写如下事件过程: Private Sub Form_ MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Button =2 Then Print “AAAAA” End If End Sub Private Sub Form_ MouseUp (Button As Integer,Shift As Integer,X As Single,Y As Single) Print “BBBBB” End Sub 程序运行后,如果单击鼠标右键,则输出结果为______ 。A.AAAAA BBBBBB.BBBBBC.AAAAAD.BBBBB AAAAA
若有以下变量定义和函数调用语句: int a=25; print_value(a); 则执行下面函数后正确的输出结果是( )。 void print_value(int*x) { cout<<++*x<<endl; }A.23B.24C.25D.26
执行如下两条语句后,窗体上显示的是 ______。 a=8.4326 Print Format(a,"$00,00.00"),A.0,008.43B.$8.43C.8.43D.$0,008.43
假设X的值是5,则执行以下语句时,可得到的输出结果是ABCDEF的Select Case语句是 ( )A.Select Case X Case 10 To 1 Print“ABCDEF” End SelectB.Select Case X Case Is>15,Is<5 Print"ABCDEF" End SelectC.Selecl Case K Case Is>5,1,3,To 10 Print"ABCDEF" End SelectD.Select Case X Case 1,3,Is>5 Print"ABCDEF" End Select
在窗体上画一今名称为Command1的命令按钮,然后编写如下代码: Option Base 1 Private Sub Command1_Click() d=0 c=10 x=Array(10,12,21,32,24) For i=1 To 5 If x(i)>c Then d=d+x(i) c=x(i) Else d=d-c End If Next I Print d End Sub 程序运行后,如果单击命令按钮,则窗体上输出的内容为 ______。A.89B.99C.23D.77
单击一次窗体之后,下列程序代码的执行结果为______。 Private Sub Command1_ Click() Dim a As Integer, b As Integer, c As Integer a = 1: b = 2: c = 4 Print Value(a, b,C)End Sub Function Num(x As Integer, y As Integer, z As Integer) Num = x * x + y * y + z * z End Function Function Value(x As Integer, y As Integer, z As Integer) Value = Num(x, y, z) + 2 * x End FunctionA.21B.23C.19D.35
单击窗体时,下列程序代码的执行结果为______ 。 Private Sub Test (x As Integer) x=x*2+1 If x < 6 Then Call Test(x) End If x-x*2+1 Print x; End Sub Private Sub Command1_ Click () Test 2 End SubA.23 47B.5 11C.10 22D.23 29
执行下面这段程序后,单击命令按钮,窗体中输出结果是 ______。 Private Sub Command1_Click() a=1 : b=4 : c = 9 : d = 5 If a < b Then If c<d Then x=True Else If a<c Then x=False Else x=True End If End If End If Print Val(x) End SubA.TrueB.FalseC.0D.1
执行语句x=987654.0321,输出x的值时要求加千位分隔符,小数点后取3位有效数字,下列输出语句中正确的是( )。A.Print Format$(x,#####,#.###)B.Print Format$(x,"###,###.###")C.Print Format$(x,"#####,###")D.Print Format$(x,",#####.###")
在窗体中添加一个命令按钮,并编写如下程序: Private Sub Command1_CliCk() X=1∶Y=2∶Z=3 X=Y∶Y=Z∶Z=X Print Z End Sub 程序执行后,输出的结果是______。A.3B.0C.2D.1
执行下列程序后,鼠标单击窗体,输出结果为 Private Sub Form_Click() Print"Click": End Sub Private Sub Form_MouseDown(Button As Integer,Shift_As Integer,X As Single,Y As Single) Print"Donw" End Sub Private Sub Form_MouseUp(Button As Integer,Shift_As Integer,X As Single,Y As Single) Print"Up" End SubA.DownUpClickB.CfickDownUpC.DownClickUpD.UpDownClick
执行如下两条语句后,窗体上显示的是( )。 a=9.8596 Print Format(a,"$00,00.00")A.0,009.86SX 执行如下两条语句后,窗体上显示的是( )。 a=9.8596 Print Format(a,"$00,00.00")A.0,009.86B.$9.86C.9.86D.$0,009.86
在窗体上添加一个名称为Command1的命令按钮,然后编写如下事件代码: Private Sub Command1_Click() A=75 If A<60 Then x=1 If A<70 Then x=2 If A<80 Then x=3 If A<90 Then x=4 MsgBox x End Sub 打开窗体运行后,单击命令按钮,则消息框的输出结果是( )。A.1B.2C.3D.4
"假设x=2.3456,则执行代码Print Format(x,""00##.0%"")后窗体上的结果为()。"A、2.3%B、234.6%C、0234.0%D、0234.6%