摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication4{ class Program { static void Main(string[] args) { int[] a = new int[]{1,2,3};//定义一个名字为a的数组 for(int i=0;i<a.Length;i++){//利用双重for循环进行比较 for(int j=i;j<a.Length;j++){ if(a[i]>a[j]){ 阅读全文
posted @ 2011-11-15 18:51
夜的天空
阅读(155)
评论(0)
推荐(0)

浙公网安备 33010602011771号