文件名称:Bubble-sort-method
-
所属分类:
- 标签属性:
- 上传时间:2016-12-19
-
文件大小:87.86kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
冒泡法排序。
声明了一个整型数组和一个整型变量,其中整型数组用于存储用户输入的数字,而
整型变量则作为两个元素交换时的中间变量,然后通过双层循环进行冒泡法排序,最后将排序好的数组进行输出。-Bubble sort method.
An integer array and an integer variable are declared, in which an integer array is used to store the numbers entered by the user
Integer variable as intermediate variable two elements when switching, and then through the double cycle bubble sort method, finally sorted array output.
声明了一个整型数组和一个整型变量,其中整型数组用于存储用户输入的数字,而
整型变量则作为两个元素交换时的中间变量,然后通过双层循环进行冒泡法排序,最后将排序好的数组进行输出。-Bubble sort method.
An integer array and an integer variable are declared, in which an integer array is used to store the numbers entered by the user
Integer variable as intermediate variable two elements when switching, and then through the double cycle bubble sort method, finally sorted array output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 Microsoft Word 文档 (2).docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.