某英文字符加密算法,对明文中的每个字符进行下列加密处理:
1)将该字符 ASCII 码转换成对应的 2 位 16 进制数;2)将产生的 16 进制数互换位置3)步骤 2 产生的 16 进制数即为明文加密后的密文字符根据上述加密算法,小明编写了一个解密程序,界面如图。

(1)如果明文为 24,那么密文是_____
(2)请在横线处填上合适的代码
Dim s as string
Private Sub Command1_Click()
Dim d as string,d1 as string,d2 as string
Dim c as integer,c1 as integer,c2 as integer
Dim ans as string,i as integer
‘读取密文,显示在 text1,并存储在 s 中,代码略
Ans=””
For i = 1 To len(s) step 2
d1 = Mid(s, i, 1) : d2 = Mid(s, i+1, 1)
if d1>=”A” then______________
else
c1=val(d1)
c2=val(d2) : c=____________
d=chr(c) : ans=_________
Next i
Text2.Text = ans
End Sub