相关考题
-
单项选择题
已知在“通用”代码有以下语句: Dim stu()As String 则,在某一事件代码中使用()是正确的。
A.ReDim stu(120)
B.ReDim stu(4,120)
C.ReDim stu( )
D.ReDim stu( ) As Integer -
单项选择题
以下不能实现符号函数y=sgn(x)的程序段是()。
A.if x>0 then y=1 else if x=0 then y=0 else y= -1
B.if x>0 then y=1 else if x<0 then y= -1 else y=0
C.if x>=0 then if x=0 then y=0 else y= -1 else y=1
D.if x<>0 then if x<0 then y= -1 else y= 1 else y=0 -
单项选择题
s=left$(“abcd”,2)+right$(“efgh”,2),则s的值为()。
A.abef
B.cdef
C.abgh
D.cdgh
