摘要:
static void Main(string[] args) { int[] a = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,0,11}; int max; int min; ... 阅读全文
posted @ 2015-09-07 22:12
尘梦
阅读(658)
评论(0)
推荐(0)
摘要:
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
尘梦
阅读(304)
评论(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
尘梦
阅读(4443)
评论(0)
推荐(0)
摘要:
static void Main(string[] args) { string[] a = { "梅西", "卡卡", "郑大世" }; Console.WriteLine(ceshi(a)); ... 阅读全文
posted @ 2015-09-07 18:05
尘梦
阅读(119)
评论(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
尘梦
阅读(191)
评论(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号