有如下VB程序段: i = 1: j = 9: flag = False Key = Val(Text1.Text) Do While i < j m = (i + j + 1) \ 2 If a(m) > Key Then j = m - 1 Else i = m + 1 If a(m) = Key Or a(m + 1) = Key Then flag = True: Exit Do Loop If flag Then If a(m) = Key Then Text2.Text = Str(m) Else Text2.Text = Str(m + 1) Else Text2.Text = "找不到" End If 程序运行时,数组元素a(1)到a(9)中的数据为12,24,27,34,39,46,68,73,84,在文本框Text1中输入“68”,执行该程序段,则下列表达式正确的是( )
A . j=8
B . i=8
C . j=9
D . m=6
答案:C