单项选择题

下列程序段的执行结果为( )。   a=95   If a > 60 Then degree=1   If a > 70 Then degree=2   If a > 80 Then degree=3   If a > 90 Then degree=4   Print"degree=";degree

A. 8 9
B. 9 8
C. 程序有错误
D. 9 9
<上一题 目录 下一题>
热门 试题

单项选择题
在窗体上画一个命令按钮,然后编写下列程序:Private Sub Command3_Click( )Tcl 2Tcl 3Tel 4End SubSub Tcl(a As Integer)Static x As Integerx=x + aPrint x;End Sub程序运行后,单击命令按钮,输出结果为( )。
A. ResultSet
B. Connection
C. Statement
D. 以上都不是
单项选择题
不能脱离控件(包括客体)而独立存在的过程是( )。
A.事件过程
B.通用过程
C.Sub过程
D.函数过程
相关试题
  • 设有如下程序:Private Sub Command1_C...
  • 下列程序的执行结果为( )。Private Sub...
  • 单击按钮时,以下程序运行后的输出结果是(...
  • 单击命令按钮时,下列程序的执行结果为( ...
  • 执行下列程序后,鼠标单击窗体,输出结果为...