题目

有如下VB程序段: s1 = "algorithm" If Len(s1) Mod 2 = 1 Then   i = Len(s1) \ 2: j = Len(s1) \ 2 + 2   s2 = Mid(s1, i + 1, 1) Else   i = Len(s1) \ 2: j = Len(s1) \ 2 + 1 End If Do While i >= 1   If Mid(s1, i, 1) > Mid(s1, j, 1) Then     s2 = Mid(s1, i, 1) + s2   Else     s2 = s2 + Mid(s1, j, 1)   End If   i = i - 1: j = j + 1 Loop Label1.Caption = s2 执行该程序段后,标签Label1上显示的内容是(   ) A . lortm B . rotlm C . mltor D . lormt 答案:A
信息技术 试题推荐
最近更新