点击下载:人民邮电出版社:21世纪高等学校计算机基础教育系列教材《高级语言程序设计教程》配套电子教案(PPT课件,Visual Basic 6.0)第八章 数组的使用
正在加载图片...
选择法的算法程序通用代码 for- to n-I for 1-l+I to n if s(> s(min) then imin- next I temp=s(min s(imin)=s(I s()=temp next I选择法的算法程序通用代码 for I=1 to n-1 imin = I for j=I+1 to n if s(j)> s(imin) then imin=j next j temp = s(imin) s(imin) = s(I) s(I) = temp next I
<<向上翻页
向下翻页>>
点击下载:人民邮电出版社:21世纪高等学校计算机基础教育系列教材《高级语言程序设计教程》配套电子教案(PPT课件,Visual Basic 6.0)第八章 数组的使用
©2008-现在 cucdc.com 高等教育资讯网 版权所有