制作遛鸟绳:在VB中怎样判断数组中的最小数?
来源:百度文库 编辑:神马品牌网 时间:2024/05/05 19:28:31
在线等!@
在那里有这些算法资料下载啊?
在那里有这些算法资料下载啊?
dim a (1 to 10) as integer
dim temp as integer
for i=1 to a.lenth
if temp>a(i)
temp=a(i)
next
print temp
应该要读取数进行比较的,看一看好的排序算法吧
神马品牌网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/05/05 19:28:31
dim a (1 to 10) as integer
dim temp as integer
for i=1 to a.lenth
if temp>a(i)
temp=a(i)
next
print temp
应该要读取数进行比较的,看一看好的排序算法吧