c课设学生成绩管理系统设计.docVIP

  • 2
  • 0
  • 约5.26千字
  • 约 8页
  • 2019-04-05 发布于广东
  • 举报
#includestdio.h #includestring.h //strcpy 用至lj //#includectype.h #includestdhb.h typedef struct node 定义一个链表 { long int student_number; float mark[3]; //三科成绩 float chengji;//T?均成绩 char name[10]; struct node *next; } node; /*node *student_create(); node *student_sort(node *head); node *student_insert(node *head); node *student_delete(node *head); node *student_find(node*head) ;*/ void student_printl(node *head); void student_print2(node *head); void student_destroy(node*head); float chen gji(float a[],int n) //求平均成缋成绩函数 { int i; float sum=0; for(i=0;in;i++) { sum+=a[i]; } sum=sum/n; return sum;

文档评论(0)

1亿VIP精品文档

相关文档