冒泡排序VB代码输入五个数,并降序排列Private Sub Command1_Click()Dim a As DoubleDim b(1 To 5) As DoubleDim c As Doublea = 1Do While a 1a = c + 1Do While a >= 2If b(a) > b(a - 1) Thenb(a) = b(a) + b(a - 1)b(a - 1) = b(a) - b(a - 1)b(a) =
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 17:51:54
xSJ@VJ|쒈ZKITS$T\*ZB[Q|,\ԶLڿp榎iZK,fsі#?ce|ۼv%v^ڪs2U0VG
V>ia~