#include<stdio.h>
typedef struct student
{
int num;
char name[20];
float score[3];
}student;
student stu[4];
void main()
{
float average[4],max;
int i;int k=0;int j=0;
printf("P

展开全部
收起
3回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • Christian

    19人对此回答表示赞同

    #include<stdio.h>
    typedef struct student
    {
    int num;
    char name[20];
    float score[3];
    }student;
    student stu[4];
    void main()
    {
    float average[4],max;
    int i;int k=0;int j=0;
    printf("P
    展开
    19
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • Taj

    17人对此回答表示赞同

    // test333.cpp : Defines the entry point for the console application.
    //

    #include "stdafx.h"
    #include<stdio.h>

    typedef struct student
    {
    int num;
    char name[20];
    float score[3];
    }st
    展开
    17
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • 吴怡然

    14人对此回答表示赞同

    scanf("%d %c %f %f %f \n",&stu[3].num,&stu[3].name,&stu[3].score[0],&stu[3].score[1],&stu[3].score[2]);
    for(i=0;i<4;i++)
    {
    average[i]=(stu[i].score[1]+stu[i].score[2]+stu[i].score[3])/3;

    printf("the s
    展开
    14
    0回复
    发布于 6年前

    评论(0)

    收起评论

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部