题库 高中信息

题干

有如下通用过程和事件过程,运行程序后,单击窗体,程序的运行结果是( )
public  function  ss(x  as  integer,y  as  integer)  as  integer
if   x>y   then   ss=x-y   else  ss=y-x
END  FUNCTION
PRIVATE  SUB  FORM CLICK(   )
DIM  A  AS  INTEGER ,B  AS  INTEGER
A=8: B=6
PRINT   SS(A,B)
END  SUB
A.2B.-2C.8   8D.6 6
上一题 下一题 0.99难度 选择题 更新时间:2019-09-06 12:28:19

答案(点此获取答案解析)