单项选择题

运行下列程序:Private Sub Command1_Click()    Dim x As Integer    Dim n As Integer    n = 0    Do        n = n + 2        x = x + n    Loop While n < 10    Print xEnd Sub单击命令按钮后,则在窗体上显示的结果是(  )。

A.10
B.20
C.30
D.40
微信扫码免费搜题