题目

有如下VB程序段: a(I)=68: a(2)=88: a(3)=76: a(4)= 60: a(5)=98: a(6)=100: a(7)= 64: a(8)=85: a(9)=99: a(10)=59   For i=1 To 9     b(i)=Abs(a(i+1)-a(i))     c(b(i)\10)= c(b(i)\10) + 1   Next i   For i=0 To 10     If c(i)> 0 Then Label1.Caption = Label1.Caption + "" + Str(c(i)) Next i 数组c各元素初值为0,执行该程序段,标签Label 1上显示的内容是(  ) A . 1 3 2 2 1 B . 1 3 2 1 2 C . 2 3 2 2 1 D . 2 3 2 1 1 答案:A
信息技术 试题推荐
最近更新