单选题 VB
题号 #2570541

下列程序的执行结果为 
Private Sub Command1_Click() 
Dim FirStr As String 
FirSt="abcdef" 
Print Pat(FirStr. 
End Sub 
Private Function Pat(xStr As String.As String 
Dim tempStr As String, strLen As Integer 
tempStr="" 
strLen=Len(xStr. 
i=1 
Do While i<=Len(xStr.-3 
tempStr=tempStr+Mid(xStr, i, 1)+Mid(xStr, strLen -i+1, 1) 
i=i+1 
Loop 
Pat=tempStr 
End Function 

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考