格力空调故障代码h5:在VB中怎样判断数组中的最小数?
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/16 00:24:30
在线等!@
在那里有这些算法资料下载啊?
在那里有这些算法资料下载啊?
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/16 00:24:30
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
应该要读取数进行比较的,看一看好的排序算法吧