求用C语言设计一个学生成绩管理程序,明天下午要用。 C语言编写设计一个简单的学生成绩管理程序 急求大神帮忙!

作者&投稿:潘沈 (若有异议请与网页底部的电邮联系)
//读写文件功能可使用freopen函数
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct STUDENT{
    float score[3];
    long id;
    char names[20];
};
typedef struct STUDENT student;//simplify the struct STUDENT
typedef struct STUDENT *Pstudent;
    
void print();
void append();
void course_total();
void student_total();
void score_sort(int (*compare)(float a,float b));
void number_sort();
void name_sort(Pstudent names_[30]);
void number_search();
void name_search();
void statistic(Pstudent scores_[30]);
    
void show(int i);
    
int ascend(float a, float b){
    if(a>b) return 1;
    else  return 0;
}
int descend(float a, float b){
    if(a<b)  return 1;
    else  return 0;
}
int n;//the number of students
    
int flg=1;//true print the result
student *stuArray[30];//the global variable can simplify the compute
    
int again=1;//whether to continue
int main(){
    int i;
    printf("Input student number(n<30):");
    scanf("%d",&n);
    int choice;
    while(again){
        print();
        scanf("%d",&choice);
        switch(choice){
            case 1:
                append();
                break;
            case 2:
                course_total();//use flag to define whether to print
                break;
            case 3:
                student_total();
                break;
            case 4:
                score_sort(descend);
                if(flg){
                    printf("Sort in descending order by total score of every student:
");
                    printf("NONameMTENPHSUMAVER
");
                    for(i=0;i<n;i++)
                        show(i);
                }
                break;
            case 5:
                score_sort(descend);
                if(flg){
                    printf("Sort in ascending order by total score of every student:
");
                    printf("NONameMTENPHSUMAVER
");
                    for(i=0;i<n;i++)
                        show(n-1-i);
                }
                break;
            case 6:
                number_sort();
                break;
            case 7:
                name_sort(stuArray);
                break;
            case 8:
                number_search();
                break;
            case 9:
                name_search();
                break;
            case 10:
                statistic(stuArray);
                break;
            case 0:
                again=0;
                printf("End of program!
");
                break;
            default:
                printf("Input error!
");
                break;
        }
    
    }
return 0;
}
    
void print(){
    printf("1.Append record
");
    printf("2.Calculate total and average score of every course
");
    printf("3.Calculate total and average score of every student
");
    printf("4.Sort in descending order by total score of every student
");
    printf("5.Sort in ascending order by total score of every student
");
    printf("6.Sort in ascending order by number
");
    printf("7.Sort in dictionary order by name
");
    printf("8.Search by number
");
    printf("9.Search by name
");
    printf("10.Statistic analysis
");
    printf("Please Input your choice:");
}
void append(){
    int i;
    printf("Input student's ID,name and score:
");
    for(i=0;i<n;i++){////the most significant part malloc the memory when appending record
        stuArray[i] = (student *)malloc(sizeof(student));
        scanf("%ld%s",&stuArray[i]->id,stuArray[i]->names);
        scanf("%f",&stuArray[i]->score[0]);
        scanf("%f",&stuArray[i]->score[1]);
        scanf("%f",&stuArray[i]->score[2]);
    }
}
void course_total(){
    int i;
    float sum0=0.0,sum1=0.0,sum2=0.0;
    for(i=0;i<n;i++){
        sum0+=stuArray[i]->score[0];
        sum1+=stuArray[i]->score[1];
        sum2+=stuArray[i]->score[2];
    }
    if(flg){
        printf("course %d:sum=%.0f,aver=%.0f
",1,sum0,sum0/n);
        printf("course %d:sum=%.0f,aver=%.0f
",2,sum1,sum1/n);
        printf("course %d:sum=%.0f,aver=%.0f
",3,sum2,sum2/n);
    }
}
void student_total(){
    float total[30]={0.0};
    int i;
    for(i=0;i<n;i++){
        total[i]=stuArray[i]->score[0]+stuArray[i]->score[1]+stuArray[i]->score[2];
    }
    if(flg){
        for(i=0;i<n;i++)
            printf("student %d:sum=%.0f,aver=%.0f
",i+1,total[i],total[i]/3);
    }
}
void score_sort(int (*compare)(float a,float b)){
    int i,j;
    float total[30]={0.0};
    for(i=0;i<n;i++){
        total[i]=stuArray[i]->score[0]+stuArray[i]->score[1]+stuArray[i]->score[2];
    }
    for(i=0;i<n;i++){
        for(j=0;j<=i;j++)
            //if((*compare)(stuArray[i]->score[0]+stuArray[i]->score[1]+stuArray[i]->score[2],stuArray[j]->score[0]+stuArray[j]->score[1]+stuArray[j]->score[2])==0){
            if((*compare)(total[i],total[j])==0){//just swap the pointer it simplify the program
                  student *tmp=(student *)malloc(sizeof(student));
                  memcpy(tmp,stuArray[i],sizeof(student));
                  memcpy(stuArray[i],stuArray[j],sizeof(student));
                  memcpy(stuArray[j],tmp,sizeof(student));
        }//memcpy-> copy the hole the memory
    }
    
}
void number_sort(){//没必要传参
    int i,j;
    for(i=0;i<n;i++){
        for(j=0;j<i;j++)
            if(stuArray[i]->id<stuArray[j]->id){
                  student *tmp=(student *)malloc(sizeof(student));
                  memcpy(tmp,stuArray[i],sizeof(student));
                  memcpy(stuArray[i],stuArray[j],sizeof(student));
                  memcpy(stuArray[j],tmp,sizeof(student));
            }
    }
    if(flg){
        printf("Sort in ascending order by number:
");
        printf("NONameMTENPHSUMAVER
");
        for(i=0;i<n;i++)
            show(i);
    }
}
void name_sort(Pstudent names_[30]){
    int i,j;
    for(i=0;i<n;i++){
        for(j=0;j<=i;j++)
            if(strcmp(names_[i]->names,names_[j]->names)<0){
                  student *tmp=(student *)malloc(sizeof(student));
                  memcpy(tmp,stuArray[i],sizeof(student));
                  memcpy(stuArray[i],stuArray[j],sizeof(student));
                  memcpy(stuArray[j],tmp,sizeof(student));
            }
    }
    if(flg){
        printf("Sort in dictionary order by name:
");
        printf("NONameMTENPHSUMAVER
");
        for(i=0;i<n;i++)
            show(i);
    }
}
void number_search(){
    long query;
    printf("Input the number you want to search:");
    scanf(" %ld",&query);
    int i;
    score_sort(descend);//100 98 87
    for(i=0;i<n;i++){
        if(stuArray[i]->id==query)
            break;
    }
    if(i!=n){
        printf("%d",i+1);
        show(i);
    }
    else
        printf("Not found!
");
}
void name_search(){
    char query[20];
    score_sort(descend);
    printf("Input the name you want to search:");
    scanf("%s",query);
    int i;
    for(i=0;i<n;i++){
        if(!strcmp(query,stuArray[i]->names)){
            break;
        }
    }
    if(i!=n){
        printf("%d",i+1);
        show(i);
    }
    else
        printf("Not found!
");
}
void statistic(Pstudent scores_[30]){//a pointer array stands for scores
    float MT[30],EN[30],PH[30];
    int i;
    for(i=0;i<n;i++){
        MT[i]=scores_[i]->score[0];
        EN[i]=scores_[i]->score[1];
        PH[i]=scores_[i]->score[2];
    }
    int sta[6]={0};//means the statistic of every student (<60 or 60-70 ....)
    for(i=0;i<n;i++){
        if(MT[i]<60)
            sta[0]++;
        if(MT[i]==100)
            sta[5]++;
        if(MT[i]>=60&&MT[i]<=69)
            sta[1]++;
        if(MT[i]>=70&&MT[i]<=79)
            sta[2]++;
        if(MT[i]>=80&&MT[i]<=89)
            sta[3]++;
        if(MT[i]>=90&&MT[i]<=100)
            sta[4]++;
    }
    
    if(flg){
        printf("For course %d:
",1);
        printf("<60%d%.2f%%
",sta[0],sta[0]/(float)n*100);//change n to float
        printf("60-69%d%.2f%%
",sta[1],sta[1]/(float)n*100);
        printf("70-79%d%.2f%%
",sta[2],sta[2]/(float)n*100);
        printf("80-89%d%.2f%%
",sta[3],sta[3]/(float)n*100);
        printf("90-100%d%.2f%%
",sta[4],sta[4]/(float)n*100);
        printf("100%d%.2f%%
",sta[5],sta[5]/(float)n*100);
    }
    memset(sta,0,6*sizeof(int));//initialize the sta array
    for(i=0;i<n;i++){
        if(EN[i]<60)
            sta[0]++;
        if(EN[i]==100)
            sta[5]++;
        if(EN[i]>=60&&EN[i]<=69)
            sta[1]++;
        if(EN[i]>=70&&EN[i]<=79)
            sta[2]++;
        if(EN[i]>=80&&EN[i]<=89)
            sta[3]++;
        if(EN[i]>=90&&EN[i]<=100)
            sta[4]++;
    }
    
    if(flg){
        printf("For course %d:
",2);
        printf("<60%d%.2f%%
",sta[0],sta[0]/(float)n*100);//change n to float
        printf("60-69%d%.2f%%
",sta[1],sta[1]/(float)n*100);
        printf("70-79%d%.2f%%
",sta[2],sta[2]/(float)n*100);
        printf("80-89%d%.2f%%
",sta[3],sta[3]/(float)n*100);
        printf("90-100%d%.2f%%
",sta[4],sta[4]/(float)n*100);
        printf("100%d%.2f%%
",sta[5],sta[5]/(float)n*100);
    }
    memset(sta,0,6*sizeof(int));
    for(i=0;i<n;i++){
        if(PH[i]<60)
            sta[0]++;
        if(PH[i]==100)
            sta[5]++;
        if(PH[i]>=60&&PH[i]<=69)
            sta[1]++;
        if(PH[i]>=70&&PH[i]<=79)
            sta[2]++;
        if(PH[i]>=80&&PH[i]<=89)
            sta[3]++;
        if(PH[i]>=90&&PH[i]<=100)
            sta[4]++;
    }
    
    if(flg){
        printf("For course %d:
",3);
        printf("<60%d%.2f%%
",sta[0],sta[0]/(float)n*100);//change n to float
        printf("60-69%d%.2f%%
",sta[1],sta[1]/(float)n*100);
        printf("70-79%d%.2f%%
",sta[2],sta[2]/(float)n*100);
        printf("80-89%d%.2f%%
",sta[3],sta[3]/(float)n*100);
        printf("90-100%d%.2f%%
",sta[4],sta[4]/(float)n*100);
        printf("100%d%.2f%%
",sta[5],sta[5]/(float)n*100);
    }
}
    
void show(int i){
    
    printf("%ld%s",stuArray[i]->id,stuArray[i]->names);//order is the id after sort
    printf("%.0f%.0f%.0f",stuArray[i]->score[0],stuArray[i]->score[1],stuArray[i]->score[2]);
    float sum=stuArray[i]->score[0]+stuArray[i]->score[1]+stuArray[i]->score[2];
    printf("%.0f%.0f
",sum,sum/3);
}


急求:用C语言设计一个学生成绩管理系统!!!~

// Note:Your choice is C++ IDE
#include
#include
using namespace std;
//N代表科目数,M代表人数
#define N 2
#define M 3


class student
{public:
float score[N];
string name;
float average;
float total;
int rank;

student(){average=0;};
void inscore();
void calav();
void caltt();
void show();

};

void student::inscore()
{
int i;
cout<<"输入姓名:";
cin>>name;
cout<<"输入成绩:";
for(i=0;i<N;i++)
{
cin>>score[i];
}
caltt();
calav();

}

void student::calav()
{
average=total/N;
}

void student::caltt()
{
int i;
for(i=0;i<N;i++)
total+=score[i];
}



void student::show()
{
int i;
cout<<rank<<" "<<name<<" ";
for(i=0;i<N;i++)
cout<<score[i]<<" ";

cout<<endl;
}


void setrank(student sys[M])
{
int i,j;
student tmp=sys[0];

for(i=0;i<M-1;i++)
{
for(j=i+1;j<M;j++)
if(sys[j].average>sys[i].average)
{
tmp=sys[j];
sys[j]=sys[i];
sys[i]=tmp;
}
sys[i].rank=i+1;
}
sys[i].rank=i+1;
}

void findsc(student sys[M])
{
string n;
int i;
cout<<"请输入查询的名字:";
cin>>n;
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(i=0;i<M;i++)
if(sys[i].name==n)
{

sys[i].show();
}
}


void findrank(student sys[M])
{
string n;
int i;
cout<<"请输入查询的名字:";
cin>>n;
for(i=0;i<M;i++)
if(sys[i].name==n) cout<<sys[i].rank;

}

void find10(student sys[M])
{
int j;
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<10;j++)
sys[j].show();
}

void findgrade(student sys[M])
{
int i,j;
cout=85 2.>=75 3.>=60 4.<60"<<endl;
cin>>i;
switch(i)
{
case 1:
{
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<M;j++)
sys[j].show();

}
break;

case 2:
{
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<M;j++)
if(sys[j].average>=75 && sys[j].average<85) sys[j].show();

}
break;
case 3:
{
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<M;j++)
sys[j].show();

}
break;

case 4:
{
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<M;j++)
if(sys[j].average<60) sys[j].show();

}
break;

}

}


void findbad(student sys[M])
{
int i,j,k;
for(i=0;i<M;i++)
{
k=0;

cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(j=0;j<N;j++)
{
if(sys[i].score[j]<60) k++;
if(k==3) {sys[i].show();continue; }
}
}
}

void pub(student sys[M])
{
int i;
cout<<"排名 "<<"姓名 "<<"--成绩--"<<endl;
for(i=0;i<M;i++)
sys[i].show();
}






int main()
{
student st[M];
int i,j;

while(1)
{
cout<<
"-------------------------------
"<<
"1.输入成绩
"<<
"2.查询任一学生成绩
"<<
"3.查询任一学生排名
"<<
"4.查询前十的学生
"<<
"5.查询成绩级别的情况
"<<
"6.查询三门不及格的学生
"<<
"7.按成绩高低,顺序输入所有学生
"<<
"-------------------------------"<<endl;
cin>>i;
switch(i)
{
case 1:
for(j=0;j<M;j++)
{
cout<<"输入第"<<j+1<<"个学生的成绩"<<endl;
st[j].inscore();
};
setrank(st);
break;

case 2:findsc(st);system("pause");break;
case 3:findrank(st);system("pause");break;
case 4:find10(st);system("pause");break;
case 5:findgrade(st);system("pause");break;
case 6:findbad(st);system("pause");break;
case 7:pub(st);system("pause");break;
}



}


return 0;
}

我以前写了个,你拿去参考下吧:
#include
#include
#include
#include
#include
#define MAX 80
void input();
void sort();
void display();
void insert();
void del();
void average();
void find();
void save();
void read();
void del_file();
void average();
void modify();
int now_no=0;
struct student
{
int no;
char name[20];
char sex[4];
float score1;
float score2;
float score3;
float sort;
float ave;
float sum;
};
struct student stu[MAX],*p;
main()/*主函数*/
{
int as;
start: printf("
欢迎使用学生成绩管理系统
");
/*一下为功能选择模块*/
do
{
printf("
1.录入学员信息
2.显示学员信息
3.成绩排序信息
4.添加学员信息
5.删除学员信息
6.修改学员信息
7.查询学员信息
8.从文件读入学员信息
9.删除文件中学员信息
10.保存学员信息
11.退出
");
printf("选择功能选项:");
fflush(stdin);
scanf("%d",&as);
switch(as)
{
case 1:system("cls");input();break;
case 2:system("cls");display();break;
case 3:system("cls");sort();break;
case 4:system("cls");insert();break;
case 5:system("cls");del();break;
case 6:system("cls");modify();break;
case 7:system("cls");find();break;
case 8:system("cls");read();break;
case 9:system("cls");del_file();break;
case 10:system("cls");save();break;
case 11:system("exit");exit(0);
default:system("cls");goto start;
}
}while(1);
/*至此功能选择结束*/
}
void input()/*原始数据录入模块*/
{
int i=0;
char ch;
do
{
printf("1.录入学员信息
输入第%d个学员的信息
",i+1);
printf("
输入学生编号:");
scanf("%d",&stu[i].no);
fflush(stdin);
printf("
输入学员姓名:");
fflush(stdin);
gets(stu[i].name);
printf("
输入学员性别:");
fflush(stdin);
gets(stu[i].sex);
printf("
输入学员成绩1:");
fflush(stdin);
scanf("%f",&stu[i].score1);
printf("
输入学员成绩2:");
fflush(stdin);
scanf("%f",&stu[i].score2);
printf("
输入学员成绩3:");
fflush(stdin);
scanf("%f",&stu[i].score3);
printf("

");
i++;
now_no=i;
printf("是否继续输入?(Y/N)");
fflush(stdin);
ch=getch();
system("cls");
}
while(ch!='n'&&ch!='N');
system("cls");
}
void sort()/*排序数据函数*/
{
struct student temp;
int i,j;
average();
for(i=1;i<now_no;i++)
{
for(j=1;j<=now_no-i;j++)
{
if(stu[j-1].ave<stu[j].ave)
{
temp=stu[j];
stu[j]=stu[j-1];
stu[j-1]=temp;
}
}
}
}
void display()/*显示数据函数*/
{
int i;
char as;
average();
do
{
printf("班级学员信息列表
");
printf("编号姓名性别成绩1成绩2成绩3平均值
");
for(i=0;i<now_no&&stu[i].name[0];i++)printf("%d%s%s%.2f%.2f%.2f%.2f
",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].score2,stu[i].score3,stu[i].ave);
printf("按任意键返回主菜单.");
fflush(stdin);
as=getch();
}
while(!as);
system("cls");
}
void insert()/*插入数据函数*/
{
char ch;
do
{
printf("
输入新插入学员队信息
");
printf("
输入学生编号:");
scanf("%d",&stu[now_no].no);
fflush(stdin);
printf("
输入学员姓名:");
fflush(stdin);
gets(stu[now_no].name);
printf("
输入学员性别:");
fflush(stdin);
gets(stu[now_no].sex);
printf("
输入学员成绩1:");
fflush(stdin);
scanf("%f",&stu[now_no].score1);
printf("
输入学员成绩2:");
fflush(stdin);
scanf("%f",&stu[now_no].score2);
printf("
输入学员成绩3:");
fflush(stdin);
scanf("%f",&stu[now_no].score3);
printf("

");
now_no=now_no+1;
sort();
printf("是否继续输入?(Y/N)");
fflush(stdin);
ch=getch();
system("cls");
}
while(ch!='n'&&ch!='N');
}
void del()/*删除数据函数*/
{
int inum,i,j;
printf("输入要删除学员的编号:");
fflush(stdin);
scanf("%d",&inum);
for(i=0;i<now_no;i++)
{
if(stu[i].no==inum)
{
if(i==now_no)now_no-=1;
else
{
stu[i]=stu[now_no-1];
now_no-=1;
}
sort();
break;
}
}
system("cls");
}
void save()/*保存数据函数*/
{
FILE *fp;
int i;
char filepath[20];
printf("输入要保存的文件路径:");
fflush(stdin);
gets(filepath);
if((fp=fopen(filepath,"w"))==NULL)
{
printf("
保存失败!");
exit(0);
}
for(i=0;i<now_no;i++)
{
stu[i].sum=stu[i].score1+stu[i].score2+stu[i].score3;
stu[i].ave=stu[i].sum/3;
fprintf(fp,"%d%s%s%.2f%.2f%.2f%.2f
",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].score2,stu[i].score3,stu[i].ave);
}
fclose(fp);
printf("学生信息已保存在%s中!
",filepath);
system("pause");
system("cls");
}
void find()/*查询函数*/
{
int i;
char str[20],as;
do
{
printf("输入要查询的学生姓名:");
fflush(stdin);
gets(str);
for(i=0;i<now_no;i++)
if(!strcmp(stu[i].name,str))
{
printf("编号姓名性别成绩1成绩2成绩3平均值
");
printf("%d%s%s%.2f%.2f%.2f%.2f
",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].score2,stu[i].score3,stu[i].ave);
}
printf("按任意键返回主菜单.");
fflush(stdin);
as=getch();
}
while(!as);
system("cls");
}
void average()/*求平均数*/
{
int i;
for(i=0;i<now_no;i++)
{
stu[i].sum=stu[i].score1+stu[i].score2+stu[i].score3;
stu[i].ave=stu[i].sum/3;
}
}
void modify()/*修改数据函数*/
{
int i;
char str[20],as;
printf("输入要修改的学生姓名:");
fflush(stdin);
gets(str);
for(i=0;i<now_no;i++)
if(!strcmp(stu[i].name,str))
{
system("cls");
printf("
输入新插入学员队信息
");
printf("
输入学生编号:");
fflush(stdin);
scanf("%d",&stu[i].no);
printf("
输入学员性别:");
fflush(stdin);
gets(stu[i].sex);
printf("
输入学员成绩1:");
fflush(stdin);
scanf("%f",&stu[i].score1);
printf("
输入学员成绩2:");
fflush(stdin);
scanf("%f",&stu[i].score2);
printf("
输入学员成绩3:");
fflush(stdin);
scanf("%f",&stu[i].score3);
printf("

");
sort();
break;
}
system("cls");
}

void read()
{
FILE *fp;
int i;
char filepath[20];
printf("输入要读入的文件路径:");
fflush(stdin);
gets(filepath);
if((fp=fopen(filepath,"r"))==NULL)
{
printf("找不到%s文件!
",filepath);
system("pause");
exit(0);
}
now_no=0;
for(i=0;i<MAX&&!feof(fp);i++)
{
fscanf(fp,"%d%s%s%f%f%f%f
",&stu[i].no,stu[i].name,stu[i].sex,&stu[i].score1,&stu[i].score2,&stu[i].score3,&stu[i].ave);
now_no++;
}
fclose(fp);
printf("保存的在文件%s中的所有信息已经读入!
",filepath);
system("pause");
system("cls");
}

void del_file()
{
FILE *fp;
char filepath[20];
printf("输入要删除的文件路径:");
fflush(stdin);
gets(filepath);
fp=fopen(filepath,"w");
fclose(fp);
printf("保存的在文件%s中的所有信息已经删除!
",filepath);
system("pause");
system("cls");
}

求以下c语言编程:一个简单的学生成绩管理系统。其中每个学生信息包括学 ...
答:printf("请输入3门成绩Please enter the %d scores\n",3); /*提示开始输入成绩*/ s=0; /*计算每个学生的总分,初值为0*/ for(i=0;i<3;i++) /*3门课程循环3次*/ { do { printf("成绩score%d:",i+1); scanf("%d",&p->score[i]); if(p->score[i]<0 || p->score[i]>...

用C语言编一个学生成绩管理系统。
答:printf("学号:%d 姓名:%s 学院代号:%d 班级号:%d 高数成绩:%0.2f 英语成绩:%0.2f c语言成绩:%0.2f 总分:%0.2f 平均分:%0.2f\n",stu[i].num,stu[i].name,stu[i].x_num,stu[i].class_num,stu[i].score1,stu[i].score2,stu[i].score3,stu[i].total,stu[i].average); mark=1; } if...

用C语言编译程序学生成绩管理系统
答:1.实验说明设某班有n位同学,每位同学的数据包括以下内容:学号(长整型或字符串)、姓名(字符串)、数学成绩(整型)、程序设计成绩(整型)。设计程序完成以下五项功能:新建数据档... 1. 实验说明设某班有n位同学,每位同学的数据包括以下内容:学号(长整型或字符串)、姓名(字符串)、数学成绩(整型)、程序设计成绩(整...

学生成绩管理系统 用C语言编写
答:1、用C语言实现基于Dos操作系统的“学生成绩管理系统”。2、设计“学生成绩管理系统”的用户界面,系统启动进入后,只能通过界面菜单指令才能退出。3、“学生成绩管理系统”具有以下功... 1、用C语言实现基于Dos操作系统的“学生成绩管理系统”。2、设计“学生成绩管理系统”的用户界面,系统启动进入后,只能通过界面菜单...

用C语言设计一个学生成绩管理系统
答:include <stdio.h>#include <string.h> include <stdlib.h>#define MAX 1000/*定义学生成绩信息结构*/struct stu{ char id[8];char name[8];

用c语言编写的学生成绩管理系统。 学生成绩管理系统要求实现如下功能...
答:start: printf("\n\t\t\t欢迎使用学生成绩管理系统\n");/*一下为功能选择模块*/ do { printf("\n\t\t\t\t1.录入学员信息\n\t\t\t\t2.显示学员信息\n\t\t\t\t3.成绩排序信息\n\t\t\t\t4.添加学员信息\n\t\t\t\t5.删除学员信息\n\t\t\t\t6.修改学员信息\n\t\t\t\t...

c语言程序设计 学生成绩管理程序
答:c语言程序设计 学生成绩管理程序 (要求用TC或者VC)编写一个菜单驱动的学生成绩管理程序。实现如下管理功能:¥能输入并显示n个学生的m门考试科目的成绩、总分和平均分。¥按总分进行排序。¥按学号进行排序。¥任意... (要求用TC或者VC)编写一个菜单驱动的学生成绩管理程序。实现如下管理功能: ¥ 能输入并显示 n...

c语言怎么编写学生成绩管理系统
答:要求利用C语言面向过程的编程思想来完成系统的设计突出C语言的函数特征,以多个函数实现每一个子功能画出功能模块图进行简单界面设计,能够实现友好的交互具有清晰的程序流程图和数据结构的详细定义 熟练掌握C语言对文件的各种操作学生基本信息及成绩所选科目成绩的录入。基本信息的查询(分系、班级;分科目)与修改。对每系...

求用C语言设计一个学生成绩管理程序,明天下午要用。
答:题目 学生成绩管理程序任务:使用C语言中相关知识,设计出学生成绩管理程序。要求如下所述: 1录入学生信息,每位学生录入的信息有:姓名、学号、性别、班级、和三门功课(数学,英语,计算1机)的成绩。以文件(student.txt)的形式保存每个学生的所有信息。(实验中:假设3个班,每个班学生人数不得少于5人)学号 姓名 性别 ...

利用c语言开发一个“学生成绩管理系统”谁来帮帮忙
答:学生成绩管理系统-c语言程序代码二 学生成绩管理系统-c语言版 include "stdio.h" /*I/O函数*/ include "stdlib.h" /*其它说明*/ include "string.h" /*字符串函数*/ include "conio.h" /*屏幕操作函数*/ include "mem.h" /*内存操作函数*/ include "ctype.h" /*字符操作函数*/ include...