(35) 下列程序的執(zhí)行結(jié)果為
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
A) abcdef
B) afbecd
C) fedcba
D) defabc
正確答案: B
上一頁 1 2 3 4 5 6 7 8 9 10 ...
下一頁 >> 相關(guān)推薦:
在VB中利用遠程數(shù)據(jù)庫的訪問之應(yīng)用舉例 VB中利用遠程數(shù)據(jù)庫的訪問之?dāng)?shù)據(jù)處理案例