...用“冒泡排序法”按值从小到大顺序进行排序
发布网友
发布时间:2024-10-04 22:35
我来回答
共3个回答
热心网友
时间:2024-10-06 11:17
DIMENSION ARRAYA(10)
FOR I=1 TO 10
INPUT "输入一个数:" TO ARRAYA(I)
ENDFOR
ASORT(ARRAYA,1,10,0)
FOR I=1 TO 10
??ARRAYA(I),","
ENDFOR
热心网友
时间:2024-10-06 11:25
CLEAR
DIMENSION ARRAYA(10)
FOR I=1 TO 10
INPUT "输入第"+ALLTRIM(STR(I))+"个数:" TO ARRAYA(I)
ENDFOR
ASORT(ARRAYA,1,10,0)
FOR I=1 TO 10
??ARRAYA(I),","
ENDFOR
热心网友
时间:2024-10-06 11:21
嗯,我没有学过,好像很难啊