资源大小: 43KB
发布时间: 2010-09-30
文件格式: zip
下载次数: 3
分享到:

下载地址:

下载地址1
(本站为飞网专业下载站,域名:down.cfei.net)

资源简介:

#include#include#include#define N 10 /*N值为所有学生数,可更改*/#define M 5 /*M值为所有科目数*/struct STUDENT{ char num[6]; char name[10]; float score[M]; float sum; float ave;}*p;void input(struct STUDENT *p,int i){ int j; printf(" \n 请输入第%d个学生的数据(共%d个) \n ",i+1,N); printf(" \n >>学号 : "); scanf("%s",p->num); printf(" \n >>姓名 : "); scanf("%s",p->name); for(j=0;j>Score %d : ",j+1); scanf("%f",&p->score[j]); } printf(" \n ****************


飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。