5.
有如下VB程序段:
For i = 1 To 3
For j = 1 To 6 - i
If a(j) > a(j + 1) Then t = a(j): a(j) = a(j + 1): a(j + 1) = t
Next j
Next i
数组元素 a(1)到 a(6)的数据依次为“55,31,19,42,37,23”,则此程序运行完成后数组元素的数据依次是 ( )
A . 55,42,37,31,23,19
B . 19,23,31,55,37,42
C . 19,23,31,37,42,55
D . 19,31,23,37,42,55