From 434913bd3e857128e22750eadcbf5fac935b8a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=AD=A3=E8=B4=A2?= <3047498954@qq.com> Date: Wed, 9 Jan 2019 11:11:06 +0800 Subject: [PATCH] second commit --- ...生信息、计算、增加学生信息.c | 124 ++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 输入学生信息、计算、增加学生信息.c diff --git a/输入学生信息、计算、增加学生信息.c b/输入学生信息、计算、增加学生信息.c new file mode 100644 index 0000000..87cec89 --- /dev/null +++ b/输入学生信息、计算、增加学生信息.c @@ -0,0 +1,124 @@ +void select() +{ + FILE *fp,*ff; + int i,n; + if((fp=fopen("a.txt","w"))==NULL) + { + printf("file open error"); + exit(0); + } + printf("λѧϢ\n"); + scanf("%d",&n); + for(i=0;i