摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Exerice1{ public class Program { public static void Main(string[] args) { int[] count = new int[15] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; for (int i = 0; i < 5; i++) { for (int j = 0; j &l 阅读全文
posted @ 2011-04-12 13:46 杀 手 阅读(506) 评论(1) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Exerice{ public class Program { public static void Main(string[] args) { int[] count = new int[5]; // 需要排序的数组 int i, j; // 循环变量 int temp; // 临时变量 //读入数组 Console.WriteLine("请输入5个数:"); for (i = 0; i & 阅读全文
posted @ 2011-04-12 11:27 杀 手 阅读(844) 评论(0) 推荐(0) 编辑