• 2022-06-07
    以下程序的功能是求"x ^ 2 + 5"表达式的值,其中x的值由文本框Text0输入,运算的结果由文本框Text1输出。Private Sub Command0_Click() Dim x As Integer Dim y As Long Me.Text0 = x y = x * x + 5Me.Text1 = yEnd Sub运行上述程序时,出现了错误,错误的语句是
    A: Dim x As Integer
    B: Me.Text0 = x
    C: Me.Text1 = y
    D: Dim y As Long
  • 举一反三