文件名称:OUIOUIOUIOU
介绍说明--下载内容均来自于网络,请自行研究使用
题目:对10个数进行排序
1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换,
下次类推,即用第二个元素与后8个进行比较,并进行交换。
2.程序源代码:
-Title: the number of 10 sorting
1. The program analysis: can use the choice method, that is, from nine after process more, choose a minimal and the first element exchange,
So on next time, which is the second element and eight after comparison and exchange.
2. The source code:
1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换,
下次类推,即用第二个元素与后8个进行比较,并进行交换。
2.程序源代码:
-Title: the number of 10 sorting
1. The program analysis: can use the choice method, that is, from nine after process more, choose a minimal and the first element exchange,
So on next time, which is the second element and eight after comparison and exchange.
2. The source code:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OUIOUIOUIOU.doc