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
數(shù)組元素 a(1)到 a(6)的數(shù)據(jù)依次為“55,31,19,42,37,23”,則此程序運(yùn)行完成后數(shù)組元素的數(shù)據(jù)依次是 ( )
微信掃碼預(yù)覽、分享更方便
2006-2024 深圳市思高達(dá)科技有限公司 粵ICP備14099982號(hào) 粵公網(wǎng)安備 44030702004423號(hào)