C语言学生成绩管理系统代码实习.docVIP

  • 1
  • 0
  • 约1.09万字
  • 约 11页
  • 2019-06-02 发布于浙江
  • 举报
#includestdio.h #includestring.h #includestdlib.h #includeconio.h #define N 10 caidan(); int x; //定义结构体数组(确定学生人数) struct students { char num[50]; char name[50]; char sex[5]; int age; float sco1; float sco2; float sco3; float sum; float ave; }stu[N],del; //录入学生成绩 void lr() { int caidan(); int i=0,m=0; char a; system(cls); for(i=0;iN;i++) { printf(请输入需要添加的学生资料:\n); printf(学号:); scanf(%s,stu[i].num); printf(姓名:); scanf(%s,stu[i].name); printf(性别:); scanf(%S,stu[i].sex); printf(年龄:); scanf(%d,stu[i].age); printf(请输入学生的三门成绩:\n); printf(高数

文档评论(0)

1亿VIP精品文档

相关文档