设有如下程序: Prirate Sub Form_Click() Dim a As Integer,b AS Integer a=20:b=50 p1 a,b p2 a,b p3 a,b Print"a=";a,"

admin2012-03-22  23

问题 设有如下程序:
   Prirate Sub Form_Click()
   Dim a As Integer,b AS Integer
   a=20:b=50
   p1 a,b
   p2 a,b
   p3 a,b
   Print"a=";a,"b=";b
   End Sub
   Sub p1(x As Integeh By Val y As Integer)
   x=x+10
   y=y+20
   End Sub
   Sub p2(ByVal x As Integer,y As Integer)
   x=x+10
    y=y+20
   End Sub
   Sub p3 (ByVal x As Integer,ByVal y As Integer)
    x=x+10
    y=y+20
   End Sub
   该程序运行后,单击窗体,则在窗体上显示的内容是:a=  ______ 和b= _____。

选项

答案30 70

解析
转载请注明原文地址:https://jikaoti.com/ti/r8O0FFFM
0

随机试题
最新回复(0)