• 2022-06-15
    下面定义整型变量的是_____。
    A: Dim num
    B:
    C: Dim num$
    D: Dim num!
    E: Dim num%
  • E

    内容

    • 0

      定义整型数组num,有两个元素,这个数组的第二个元素是: A: num(2) B: num(1) C: num[1] D: num[2]

    • 1

      下面可以正确定义2个整型变量和1个字符串变量的语句是? A: Dim n, m As Interger, s As String B: Dim a%, b $ , c As String C: Dim a As Integer, b, c As String D: Dim x%, y As Integer, z As String

    • 2

      下面可以正确定义2个整型变量和1个字符串变量的语句是【 】 A: Dim n,m As Integer,s As String B: Dim a%,b$,c As String C: Dim a As Integer,b,c As String D: Dim x%,y As Integer,z As Suing

    • 3

      下面可以正确定义两个整型变量和—个字符串变量的语句是()。 A: Dim n,m As Integer,s As String B: Dim a%,b$,c As String C: Dim a As Integer,b,c As String D: Dim x%,y As Integer,z As String

    • 4

      在窗体上画—个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Dim num As Integer num=1 DO Until num>6 Print num; num=num+2.4 Loop End Sub 程序运行后,单击命令按钮,则窗体上显示的内容是 ______。 A.13.45.8 B.1 3 5 C.1 4 7 D.无数据输出