帮忙修改一个程序有7个错误.谢谢各位了.

来源:百度知道 编辑:UC知道 时间:2024/06/18 05:02:09

#include<stdio.h>
#include<stdlib.h>
float arg,*point=&arg;
typedef struct lnode
{
char no[11]; /*学号*/
char name[8]; /*姓名*/
float cj1; /*成绩1*/
float cj2; /*成绩2*/
float cj3; /*成绩3*/
float zf; /*总分*/
float pj; /*平均分*/
struct lnode *next;
} student;
student *head=NULL;
student *p=NULL,*end=NULL;
int i=1;
void Create()
{ char m;
char a[11],b[8];
int z=1;
while(z)
{
printf("请输入学生的成绩信息:\n");
printf("第%d个学生:\n",i);
printf("学号:"); gets(a);
printf("姓名:");gets(b);
if(head==NULL)
{
hea