zoukankan      html  css  js  c++  java
  • 教练打分

    //教练打分             //            int[] a = new int[10];             //            for (int i = 1; i <= 10;i ++ )             //            {             //                Console.Write("请给第{0}个球员打分", i);             //                a[i - 1] = Convert.ToInt32(Console.ReadLine());             //            }             //            for (int i = 0; i <10; i ++ )             //            {             //                Console.WriteLine("第{0}个球员的得分为{1}",i +1,a[i ]);             //            }             //            int max = 0; int min = 1000;             //            int max_no = 0; int min_no = 0;             //            for (int i = 0; i < 10;i ++ )             //            {             //                if (a[i]>max )             //               {             //                   max = a[i];             //                   max_no = i+1;             //               }             //                if (a[i]<min )             //                {             //                    min = a [i];             //                    min_no = i + 1;             //                }

                //            }             //            Console.Write("最高分为第{0}个球员的{1}分,最低分为第{2}个球员的{3}分", max_no, max, min_no, min);             //double  sum = 0;             //            for (int i =0;i <10;i ++)             //{             //                sum =sum +a [i ];             //}             //            Console.WriteLine("平均得分为"+sum /10);             //教练打分

  • 相关阅读:
    满屏的宽高纯CSS布局
    截屏上传插件开发流程
    COM ACTIVEX 中的BSTR 类型与其它类型转换
    线程中访问控件
    OOP三言两语
    通过iframe上传
    历年作品点评
    每周进度及工作量统计2016090820160915
    英文词频统计的java实现方法
    四人小组项目——连连看
  • 原文地址:https://www.cnblogs.com/naqiang/p/5490961.html
Copyright © 2011-2022 走看看