摘要:
int temp; int[] a = { 2, 5, 8, 9, 10, 11, 7, 6 }; for (int i = 0; i a[j+1]) { //如果后一项比第一项大 则把最大数放在前面 t... 阅读全文
posted @ 2015-09-07 18:40
尘梦
阅读(302)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { int[] a = { 6, 8, 9, 5, 2, 165, 58966 }; Console.WriteLine("最大值为{0}",max(a)); ... 阅读全文
posted @ 2015-09-07 18:23
尘梦
阅读(4438)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { string[] a = { "梅西", "卡卡", "郑大世" }; Console.WriteLine(ceshi(a)); ... 阅读全文
posted @ 2015-09-07 18:05
尘梦
阅读(118)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { int[] myarray = { 1, 5, 8, 9, 11,2, 6, 2, 4, 6, 3 }; int maxindex; Console.... 阅读全文
posted @ 2015-09-07 11:26
尘梦
阅读(190)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { Console.WriteLine("请输入年份"); int year = Convert.ToInt32(Console.ReadLine()); ... 阅读全文
posted @ 2015-09-07 10:04
尘梦
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号