新东方试讲逐字稿:在VB中怎样判断数组中的最小数?
来源:百度文库 编辑:高考问答 时间:2024/05/10 23:23:01
在线等!@
在那里有这些算法资料下载啊?
在那里有这些算法资料下载啊?
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/10 23:23:01
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
应该要读取数进行比较的,看一看好的排序算法吧