单项选择题

在窗体上画1个名称为Command1l的命令按钮,并编写以下程序 Private Sub Command1_Ctick() Print fun("ABCDEFG") End Sub Function fun(st As String)As string stlen=Len(st) temp="" For k=1 To stlen/2 temp=temp+ Mid(st,k,1)+Mid(st,stlen -k+1,1) Next k Fun=temp End Function 程序运行时,单击命令按钮,则在窗体上显示的是【 】

A.ABCDEFG
B.AGBFCE
C.GFEDCBA
D.AGBFCED