摘要:
int[] shuzu = new int[10] {1,5,2,3,4,8,9,6,7,10 }; for (int i = 0; i < shuzu.Length;i++ ) { for (int j = i; j<shuzu.Length-1;j++ ) { if(shuzu[i]<shuzu 阅读全文
posted @ 2016-04-20 11:25
五月十九
阅读(122)
评论(0)
推荐(0)
摘要:
double [] a=new double[5]; a[0] = 10; double jg=10; for (int i=0;i<5 ;i++ ) { a[i] = jg; jg = a[i] * 0.8; } Console.WriteLine("结果为{0}",a[4]); 阅读全文
posted @ 2016-04-20 09:52
五月十九
阅读(146)
评论(0)
推荐(0)
摘要:
int[] xs = new int[10]; int [] cj=new int [3]; for (int i=0;i<10 ;i++ ) { Console.Write("请输入{0}号学生的成绩:",i+1); xs[i] = Convert.ToInt32(Console.ReadLine 阅读全文
posted @ 2016-04-20 09:07
五月十九
阅读(750)
评论(0)
推荐(0)
浙公网安备 33010602011771号