以下语句执行时,从键盘上输入Zhang,执行结果是______。 Dim a As String a=InputBox("Input","","Name") Print aA.InputB.NameC.ZhangD.空字符串

以下语句执行时,从键盘上输入Zhang,执行结果是______。 Dim a As String a=InputBox("Input","","Name") Print a

A.Input

B.Name

C.Zhang

D.空字符串


相关考题:

下列程序执行时,从键盘上依次输入123和234,则程序的输出结果是【 】。Dim a,b As Integera=InputBox("请输入第一个整数")b=InputBox("请输入第二整数")Print a+b

下列程序执行时,从键盘上依次输入123和234,则程序的输出结果是【 】。a=InputBox("请输入第一个整数")b=InputBox("请输入第二整数")Print a+b

有如下语句:str1=InputBox(“输入 ”,” ”,”联系 ”)从键盘上输入字符串“学生”后,str1的值为( )A.“输入”B.“ ”C.“联系”D.“学生”

从键盘上输入XXYYZZXYZWXP和X,以下程序的输出结果是【】。 include include 从键盘上输入XXYYZZXYZWXP和X,以下程序的输出结果是【 】。include<iostream.h>include<string.h>void main(){char*str,ch;int count=0,pos;cin>>str>>ch;pos=strlen(str)-1;while(pos>=0){if((str[pos])=ch)count++;pos--;}cout<<"count="<<count;}

设有语句:a=InputBox("请输入数值:","输入示例","100")程序执行后,若从键盘上输入数值20并按回车键,则变量a的值是()。 A、字符串"20"B、字符串"120"C、默认值100D、数值120

若执行以下程序时从键盘上输入9,则输出结果是( )。A.11B.10C.9D.8

以下程序运行时,输入3和4后输出的结果是______。 Private Sub Command1_Click() a=InputBox(“请输入a的值”) b=InputBox(“请输入b的值”) Print a+b End SubA.3+4B.7C.34D.12

设有如下语句:strl=InputBox(“输入”,“”,“练习”)从键盘上输人字符串“示例”后,strl的值是______。A.“输入”B.“”C.“练习”D.“示例”

以下程序段运行时从键盘上输入字符“-”,则输出结果为 op$=InputBox("op=") If op$="+" Then a=a+2 If op$="-" Then a=a-2 Print aA.2B.-2C.0D.+2