有一段VB程序: Dim i As Integer i=1 a=5 If i>3Then a=a+5 Else a=a+2 End If
有一段VB程序: Dim i As Integer i=1 a=5 If i>3Then a=a+5 Else a=a+2 End If
日期:2016-10-22 13:18:04 人气:1
dim i as integer
i=1
a=5
if i>3 then
a=a+5
else
a=a+2
end if
因为i=1,所以执行a=a+2=5+2=7
a的值是7