End Sub
6、分析以下程序,写出运行结果。
Sub selectPrint() Dim a as Integer Dim b as Integer Dim c as Integer a=2:b=5:c=2
If(a>=b)and(a>=c) or (b>c) Then
Print a a=a+2 Else
Print b EndIf Print a;b;c End Sub
7、分析以下程序,写出运行结果。
Sub swap() Dim x as Integer Dim y as Integer Dim z as Integer x=1:y=2:z=0 Print x;y;z x=x+y x=x*z Print x,y,z