1 solutions

  • 0
    @ 2025-11-5 16:02:29

    C :

    #include<stdio.h>
    #include<string.h>
    typedef struct people
    {
    	long number;
    	char name[10];
    	int score[6];
    };
    main()
    {
    	int i,j,k,m,n;
    	struct people p[30];
    	scanf("%d",&m);
    	scanf("%d",&n);
    	for(i=0;i<m;i++)
    	{
    		scanf("%ld %s",&p[i].number,p[i].name);
    		for(j=0;j<n;j++)scanf("%d",&p[i].score[j]);
    	}
    } 
    
    • 1

    【设计型】第12章:结构体和共同体 实验题 学生成绩管理系统(11)

    Information

    ID
    17462
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By