程序设计include.docVIP

  • 1
  • 0
  • 约4.71千字
  • 约 7页
  • 2018-05-20 发布于河南
  • 举报
程序设计include

#include stdio.h #define NULL 0 #include string.h struct student /* 构造、定义、初始化student结构体类型数组stdu */ { long num; /* 学生学号 */ char name[30]; /* 学生姓名 */ float Chinese ; float Math ; float English ; float score; } stud[50]; void entering(struct student stud[],int n); /* 学生信息录 入 */ { int m; printf(输入学生个数n\n); scanf(%d,n); if(n=50) { printf(依次输入学号、姓名、语文、数学、英语成绩\n ); for(m=0;mn;m++) { scanf(%ld,stud[m].num); scanf(%c,stud[m].name); scanf(%f,stud[m].Chinese); scanf(%f,stud[m].Math); scanf(

文档评论(0)

1亿VIP精品文档

相关文档