黄聪吧 关注:71贴子:1,316

回复:叫黄聪的进.....

只看楼主收藏回复

01.17


IP属地:广东53楼2015-06-01 21:06
回复
    8 12


    IP属地:湖南来自Android客户端54楼2015-06-05 16:30
    回复
      5.9


      来自Android客户端55楼2015-07-01 19:20
      回复
        我是1996年,2.29的。。。


        IP属地:北京来自手机贴吧58楼2015-07-18 01:11
        回复
          2,1


          IP属地:湖南来自Android客户端59楼2015-07-24 15:48
          回复
            我10.02


            来自Android客户端60楼2015-08-04 18:04
            回复
              1207


              来自Android客户端61楼2015-08-14 17:53
              回复
                1994.09.19


                来自Android客户端62楼2015-09-23 21:24
                回复
                  8.12


                  IP属地:湖南来自Android客户端63楼2015-10-02 09:33
                  收起回复
                    94.9.16


                    IP属地:江苏来自iPhone客户端65楼2015-10-09 23:00
                    回复
                      新人报道。。19911105


                      来自Android客户端68楼2016-03-02 11:14
                      回复
                        #include<stdio.h>
                        #define N 10
                        #define M 4
                        float score[N][M];
                        float a_stu[N],a_cour[M];
                        int r,c;
                        int main()
                        {int i,j;
                        float h;
                        float highest();
                        void input_stu(void);
                        void aver_stu(void);
                        void aver_cour(void);
                        input_stu();
                        aver_stu();
                        aver_cour();
                        printf("\n NO. cour1 cour2 cour 3 cour4 aver\n");
                        for(i=0;i<N;i++)
                        {printf("\n NO%2d",i+1);
                        for(j=0;j<M;j++)
                        printf("%8.2f",score[i][j]);
                        printf("%8.2f\n",a_stu[i]);
                        }
                        h=highest();
                        printf("highest:%7.2f NO.%2d\n",h,c);
                        return 0;
                        }
                        void input_stu(void)//输入学生成绩
                        {int i,j;
                        for(i=0;i<N;i++)
                        {printf("\ninput score of student%2d:\n",i+1);
                        for(j=0;j<M;j++)
                        scanf("%f",%score[i][j]);
                        }
                        }
                        void aver_stu(void)//计算平均成绩
                        {int i,j;
                        float s;
                        for(i=0;i<N;i++)
                        {for(j=0,s=0;j<M;j++)
                        s+=score[i][j];
                        s_stu[i]=s/5.0;
                        }
                        float highest()
                        {float high;
                        int i;
                        high=score[0];
                        for(i=0;i<N;i++)
                        if(score[i]>high)
                        {high=score[i];
                        r=i+1;
                        }
                        return(high);
                        黄聪留


                        69楼2016-03-09 17:23
                        回复