C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))_第1頁(yè)
C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))_第2頁(yè)
C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))_第3頁(yè)
C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))_第4頁(yè)
C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))_第5頁(yè)
已閱讀5頁(yè),還剩24頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、.C語(yǔ)言大作業(yè)(成績(jī)管理系統(tǒng))制作人:皇家戰(zhàn)盾 2016年12月31日 ;結(jié)束quanbanchengjishuchu()lianxilaoshichenggongxuehaookxuehaoxuehaoxiugai()Paixu()chaxun()shanchu()xiugai()tianjia()gerenchengji()xgerengaofen()chengji()teacher()student()xuehao=stuixuehaochenggongny=aidenglu()zhuce()菜單選擇菜單顯示開(kāi)始流程圖:信息結(jié)構(gòu)體中包括:學(xué)號(hào)、姓名、英語(yǔ)成績(jī)、高數(shù)成績(jī)、大物成績(jī)、C語(yǔ)言成

2、績(jī)、機(jī)械制圖成績(jī)、政治成績(jī)、體育成績(jī)、總成績(jī)、平均分。源程序代碼#include#include struct studentint num; 學(xué)號(hào)char name100; 姓名int score1; 英語(yǔ)int score2; 高數(shù)int score3; 大物int score4; C語(yǔ)言int score5; 機(jī)械制圖int score6; 政治int score7; 體育int score8; 總成績(jī)int score9; 平均分stu100;int R;int xuehao;double ping10;int gao10;void denglu(); 登錄函數(shù)void student

3、(); 學(xué)生登錄界面函數(shù)void teacher(); 教師登錄界面函數(shù)void chengji();void quanbanchengjishuchu(); 調(diào)用全班各科成績(jī)、總分、平均分進(jìn)行輸出函數(shù)void tianjia(); 教師使用添加學(xué)生成績(jī)函數(shù)void xiugai(); 教師使用修改學(xué)生成績(jī)函數(shù)void input(); 教師修改成績(jī)將成績(jī)錄入文檔函數(shù)void shanchu(); 教師刪除學(xué)生信息及成績(jī)函數(shù)void gerenchengji(); 輸出顯示學(xué)生個(gè)人成績(jī)void zhuce(); 學(xué)生登錄注冊(cè)函數(shù) void pingjun(); 成績(jī)計(jì)算平均分void chax

4、un(); 教師使用按學(xué)號(hào)查詢(xún)學(xué)生個(gè)人成績(jī)void xuehaopaixu(); 按學(xué)號(hào)順序顯示個(gè)人成績(jī)void gerengaofen(); 學(xué)生使用查詢(xún)各科最高分void zuigaofen(); 顯示各科最高分分?jǐn)?shù)void ps1(); 英語(yǔ)成績(jī)排序void ps2(); 高數(shù)成績(jī)排序void ps3(); 大物成績(jī)排序void ps4(); C語(yǔ)言成績(jī)排序void ps5(); 工圖成績(jī)排序void ps6(); 政治成績(jī)排序void ps7(); 體育成績(jī)排序void pz(); 總成績(jī)排序void xueshengpaiming(int number); 學(xué)生查看自己在全班排名ma

5、in()int x;system(cls);chengji();pingjun();zuigaofen();system(cls);printf(n*歡迎使用本成績(jī)管理系統(tǒng)*nn請(qǐng)選擇功能:n1.登錄n2.注冊(cè)n您選擇的功能編號(hào)為:);scanf(%d,&x);if(x=1)denglu();else if(x=2)zhuce();else printf(請(qǐng)正確選擇!);void denglu()int a100,b100,c100,i,y,m,n;char w;FILE * fp;fp = fopen(zhanghao.txt,r);for(i=0;i1000;i+)fscanf(fp,%d

6、%d%d,&ai,&bi,&ci);fclose(fp);again:system(cls);printf(n*請(qǐng)輸入您的用戶(hù)名和密碼*nn用戶(hù)名:);scanf(%d,&y);for(i=0;i1000;i+)n=i;if(y=ai)goto chenggong;printf(用戶(hù)名不存在,請(qǐng)正確輸入!);goto again;chenggong:printf(密碼:);scanf(%d,&m);if(m=bn)printf(登錄成功!);elseprintf(請(qǐng)正確輸入!);scanf(%c,&w);scanf(%c,&w);goto again;xuehao = cn;for(i=0;i

7、R;i+)if(xuehao=stui.num)goto ok;if(xuehao=1)goto ok;printf(n此學(xué)生以被老師刪除,請(qǐng)聯(lián)系老師);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);main();ok:if(cn=1)teacher();else student();void student()int i,k,x;chengji();system(cls);for(i=0;i1000;i+)k=i;if(xuehao=stui.num)goto ok;ok:printf(n*歡迎使用本系統(tǒng)*nn你好! %s 同學(xué)nn,);

8、printf(請(qǐng)選擇功能n1.本人成績(jī)查詢(xún)n2.各科最高分查詢(xún)nn*如需退出請(qǐng)直接關(guān)閉*n);scanf(%d,&x);if(x=1)gerenchengji();if(x=2)gerengaofen();void teacher()int x;system(cls);chengji();xuehaopaixu();pingjun();printf(n*歡迎敬愛(ài)的老師使用本系統(tǒng)*nn);printf(請(qǐng)選擇您需要的功能:n1.學(xué)生管理n2.成績(jī)管理nn*如需退出請(qǐng)直接關(guān)閉*n);scanf(%d,&x);if(x=1)system(cls);printf(n*歡迎敬愛(ài)的老師使用本系統(tǒng)*nn請(qǐng)選

9、擇您需要對(duì)學(xué)生所做的操作n1.添加某學(xué)生數(shù)據(jù)n2.修改某學(xué)生數(shù)據(jù)n3.刪除某學(xué)生數(shù)據(jù)n4.返回n);scanf(%d,&x);switch(x)case 1:tianjia();case 2:xiugai();case 3:shanchu();case 4:teacher();else if(x=2)system(cls);printf(n*歡迎敬愛(ài)的老師使用本系統(tǒng)*nn請(qǐng)選擇您需要對(duì)成績(jī)所做的操作n1.查看全班學(xué)生的考試成績(jī)n2.修改某學(xué)生的考試成績(jī)n3.查看全班學(xué)生的排名n4.按學(xué)號(hào)查詢(xún)某學(xué)生的成績(jī)n5.返回n);scanf(%d,&x);switch(x)case 1:quanbanch

10、engjishuchu();case 2:xiugai();case 3:printf(請(qǐng)選擇排序方式:n1.按總分排序n2.按英語(yǔ)成績(jī)排序n3.按高等數(shù)學(xué)成績(jī)排序n4.按大學(xué)物理成績(jī)排序n5.按c語(yǔ)言成績(jī)排序n6.按機(jī)械制圖成績(jī)排序n7.按政治成績(jī)排序n8.按體育成績(jī)排序n);/英語(yǔ)、高等數(shù)學(xué)、大學(xué)物理、C語(yǔ)言、機(jī)械制圖、政治、體育scanf(%d,&x);switch (x)case 1:pz();quanbanchengjishuchu();case 2:ps1();quanbanchengjishuchu();case 3:ps2();quanbanchengjishuchu();ca

11、se 4:ps3();quanbanchengjishuchu();case 5:ps4();quanbanchengjishuchu();case 6:ps5();quanbanchengjishuchu();case 7:ps6();quanbanchengjishuchu();case 8:ps7();quanbanchengjishuchu();case 4:chaxun();case 5:teacher();else ;return 0;void chengji()int i;FILE * fp1;FILE * fp2;FILE * fp3;fp1 = fopen(chengji.t

12、xt,r);fp2 = fopen(name.txt,r);fp3 = fopen(renshu.txt,r);fscanf(fp3,%d,&R);printf(目前本成績(jī)管理系統(tǒng)所存學(xué)生人數(shù)為%d人n,R);for(i=0;iR;i+)fscanf(fp1,%d,&stui.num);fscanf(fp2,%s,);fscanf(fp1,%d,&stui.score1);fscanf(fp1,%d,&stui.score2);fscanf(fp1,%d,&stui.score3);fscanf(fp1,%d,&stui.score4);fscanf(fp1,%d,&stui

13、.score5);fscanf(fp1,%d,&stui.score6);fscanf(fp1,%d,&stui.score7);fscanf(fp1,%d,&stui.score8);fscanf(fp1,%d,&stui.score9);stui.score8=stui.score1+stui.score2+stui.score3+stui.score4+stui.score5+stui.score6+stui.score7;stui.score9=(stui.score1+stui.score2+stui.score3+stui.score4+stui.score5+stui.score

14、6+stui.score7)/7;fclose(fp1);fclose(fp2);fclose(fp3);void quanbanchengjishuchu()int i;char w;system(cls);printf(學(xué)號(hào)t姓名t1.英語(yǔ)t2.高數(shù)t3.大物t4.C語(yǔ)言t5.機(jī)械制圖t6.政治t7.體育t總成績(jī)tt平均分n);for(i=0;iR;i+)printf(%dt,stui.num);printf(%st,);printf(%dt,stui.score1);printf(%dt,stui.score2);printf(%dt,stui.score3);prin

15、tf(%dt,stui.score4);printf(%dtt,stui.score5);printf(%dt,stui.score6);printf(%dt,stui.score7);printf(%dtt,stui.score8);printf(%dtn,stui.score9);printf(全班平均成績(jī)t%.2lft%.2lft%.2lft%.2lft%.2lftt%.2lft%.2lft%.2lftt%.2lfn,ping1,ping2,ping3,ping4,ping5,ping6,ping7,ping8,ping9);printf(按回車(chē)鍵返回);scanf(%c,&w);sca

16、nf(%c,&w);teacher();void tianjia()int a10,i;char b1100,w;FILE * fp1;FILE * fp2;FILE * fp3;fp1 = fopen(chengji.txt,a);fp2 = fopen(name.txt,a);fp3 = fopen(renshu.txt,w);printf(清輸入這名學(xué)生的學(xué)號(hào)n);scanf(%d,&a0);for(i=0;iR;i+)if(a0=stui.num)printf(以存在此學(xué)生!n);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();fp

17、rintf(fp1,%dn,a0);printf(清輸入這名學(xué)生的姓名n);scanf(%s,b0);fprintf(fp2,%sn,b0);printf(清輸入這名學(xué)生的英語(yǔ)成績(jī)n);scanf(%d,&a1);fprintf(fp1,%dn,a1);printf(清輸入這名學(xué)生的高等數(shù)學(xué)成績(jī)n);scanf(%d,&a2);fprintf(fp1,%dn,a2);printf(清輸入這名學(xué)生的大學(xué)物理成績(jī)n);scanf(%d,&a3);fprintf(fp1,%dn,a3);printf(清輸入這名學(xué)生的C語(yǔ)言成績(jī)n);scanf(%d,&a4);fprintf(fp1,%dn,a4);

18、printf(清輸入這名學(xué)生的機(jī)械制圖成績(jī)n);scanf(%d,&a5);fprintf(fp1,%dn,a5);printf(清輸入這名學(xué)生的政治成績(jī)n);scanf(%d,&a6);fprintf(fp1,%dn,a6);printf(清輸入這名學(xué)生的體育成績(jī)n);scanf(%d,&a7);fprintf(fp1,%dn,a7);a8=a1+a2+a3+a4+a5+a6+a7;fprintf(fp1,%dn,a8);a9=(a1+a2+a3+a4+a5+a6+a7)/7;fprintf(fp1,%dn,a9);R=R+1;printf(現(xiàn)在此系統(tǒng)中共存的學(xué)生人數(shù)有%d人,R);fpri

19、ntf(fp3,%d,R);/英語(yǔ)、高等數(shù)學(xué)、大學(xué)物理、C語(yǔ)言、機(jī)械制圖、政治、體育fclose(fp1);fclose(fp2);fclose(fp3);printf(添加成功!按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();void xiugai()int n,m,i,s,p,k,w;chengji();printf(您需要輸入這名學(xué)生的學(xué)號(hào)和要修改的科目編號(hào),之后進(jìn)行修改n請(qǐng)輸入這名學(xué)生的學(xué)號(hào):);scanf(%d,&n);for(i=0;iR;i+)if(n=stui.num)goto ok;printf(并不存在此學(xué)生!n);printf(按回

20、車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();ok:printf(1.英語(yǔ)tt2.高等數(shù)學(xué)t3.大學(xué)物理t4.C語(yǔ)言tt5.機(jī)械制圖t6.政治t7.體育nn);printf(您需要輸入這名學(xué)生要修改的科目編號(hào):);scanf(%d,&m);for(i=0;iR;i+)if(n=stui.num)k=i;switch(m)case 1:printf(n請(qǐng)您確認(rèn)您是要修改%s的英語(yǔ)成績(jī)嗎?n目前ta的英語(yǔ)成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score1);break;break;case 2:printf(n請(qǐng)您確認(rèn)您是要

21、修改%s的高等數(shù)學(xué)成績(jī)嗎?n目前ta的高等數(shù)學(xué)成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score2);break;break;case 3:printf(n請(qǐng)您確認(rèn)您是要修改%s的大學(xué)物理成績(jī)嗎?n目前ta的大學(xué)物理成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score3);break;break;case 4:printf(n請(qǐng)您確認(rèn)您是要修改%s的C語(yǔ)言成績(jī)嗎?n目前ta的C語(yǔ)言成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score4);break;break;case 5:printf(n請(qǐng)您確

22、認(rèn)您是要修改%s的機(jī)械制圖成績(jī)嗎?n目前ta的機(jī)械制圖成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score5);break;break;case 6:printf(n請(qǐng)您確認(rèn)您是要修改%s的政治成績(jī)嗎?n目前ta的政治成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score6);break;break;case 7:printf(n請(qǐng)您確認(rèn)您是要修改%s的體育成績(jī)嗎?n目前ta的體育成績(jī)?yōu)?dnn請(qǐng)輸入n1.確認(rèn) 2.取消n,,stui.score7);break;break;/英語(yǔ)、高等數(shù)學(xué)、大學(xué)物理、C語(yǔ)言、機(jī)械

23、制圖、政治、體育if(m!=1&m!=2&m!=3&m!=4&m!=5&m!=6&m!=7)printf(請(qǐng)正確選擇);scanf(%c,&w);scanf(%c,&w);goto ok;scanf(%d,&p);if(p=1)printf(請(qǐng)輸入ta的新成績(jī):);scanf(%d,&s);printf(ta的此課程的新成績(jī)?yōu)?d,s);switch(m)case 1:stuk.score1=s;goto shuchu;case 2:stuk.score2=s;goto shuchu;case 3:stuk.score3=s;goto shuchu;case 4:stuk.score4=s;g

24、oto shuchu;case 5:stuk.score5=s;goto shuchu;case 6:stuk.score6=s;goto shuchu;case 7:stuk.score7=s;goto shuchu;case 8:stuk.score8=s;goto shuchu;case 9:stuk.score9=s;goto shuchu;else if(p=2)printf(以取消n按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();elseprintf(請(qǐng)正確選擇!);shuchu:input();void input()int i;char

25、w;FILE * fp1;FILE * fp2;FILE * fp3;fp1 = fopen(chengji.txt,w);fclose(fp1);fp2 = fopen(name.txt,w);fclose(fp2);fp1 = fopen(chengji.txt,a);fp2 = fopen(name.txt,a);fp3 = fopen(renshu.txt,w);for(i=0;iR;i+)fprintf(fp1,%dn,stui.num);fprintf(fp2,%sn,);fprintf(fp1,%dn,stui.score1);fprintf(fp1,%dn,s

26、tui.score2);fprintf(fp1,%dn,stui.score3);fprintf(fp1,%dn,stui.score4);fprintf(fp1,%dn,stui.score5);fprintf(fp1,%dn,stui.score6);fprintf(fp1,%dn,stui.score7);stui.score8=stui.score1+stui.score2+stui.score3+stui.score4+stui.score5+stui.score6+stui.score7;fprintf(fp1,%dn,stui.score8);stui.score9=(stui.

27、score1+stui.score2+stui.score3+stui.score4+stui.score5+stui.score6+stui.score7)/7;fprintf(fp1,%dn,stui.score9);fprintf(fp3,%d,R);fclose(fp1);fclose(fp2);fclose(fp3);printf(n按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();void shanchu()int i,n,k,x;char w;printf(請(qǐng)輸入要?jiǎng)h除學(xué)生的學(xué)號(hào):);scanf(%d,&n);for(i=0;iR;i+)if

28、(n=stui.num)goto cunzai;printf(不存在此學(xué)號(hào)的學(xué)生!n);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();cunzai:for(i=0;iR;i+)k=i;if(n=stui.num)printf(請(qǐng)確認(rèn)要?jiǎng)h除%s的成績(jī)數(shù)據(jù)嗎?n1.確認(rèn) 2.取消,);scanf(%d,&x);if(x=1)goto ok;else if(x=2)printf(以取消,按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();elseprintf(請(qǐng)正確選擇!);ok:R=R-1

29、;for(i=k;iR;i+)stui=stui+1;stui+1=stui+2;input();printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();void gerenchengji()int k,i;char w;for(i=0;i1000;i+)k=i;if(xuehao=stui.num)goto ok;ok:printf(學(xué)號(hào)t姓名t1.英語(yǔ)t2.高數(shù)t3.大物t4.C語(yǔ)言t5.機(jī)械制圖t6.政治t7.體育t總成績(jī)tt平均分n);printf(%dt,stuk.num);printf(%st,);printf(%dt

30、,stuk.score1);printf(%dt,stuk.score2);printf(%dt,stuk.score3);printf(%dt,stuk.score4);printf(%dtt,stuk.score5);printf(%dt,stuk.score6);printf(%dt,stuk.score7);printf(%dtt,stuk.score8);printf(%dtn,stuk.score9);printf(全班平均成績(jī)t%.2lft%.2lft%.2lft%.2lft%.2lftt%.2lft%.2lft%.2lftt%.2lfn,ping1,ping2,ping3,pi

31、ng4,ping5,ping6,ping7,ping8,ping9); xueshengpaiming(k);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);student();void zhuce()int n,y,m,i,a100,b100,c100;char w;FILE * fp;fp = fopen(zhanghao.txt,r);for(i=0;i1000;i+)fscanf(fp,%d%d%d,&ai,&bi,&ci);fclose(fp);printf(請(qǐng)輸入學(xué)號(hào):);scanf(%d,&n);for(i=0;iR;i+)if(ci=n)pri

32、ntf(此學(xué)號(hào)已被注冊(cè)請(qǐng)重新登錄n按任意鍵返回開(kāi)始界面);scanf(%c,&w);scanf(%c,&w);main();break;for(i=0;iR;i+)if(n=stui.num)goto ok;printf(此學(xué)號(hào)未在成績(jī)系統(tǒng)內(nèi),請(qǐng)聯(lián)系老師添加此學(xué)號(hào)n);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);main();ok:printf(此學(xué)號(hào)可以注冊(cè)!n請(qǐng)輸入用戶(hù)名(數(shù)字)和密碼(數(shù)字)創(chuàng)建新用戶(hù)n用戶(hù)名:);scanf(%d,&y);for(i=0;iR;i+)if(y=ai)printf(此用戶(hù)名以被注冊(cè),請(qǐng)換一個(gè)從新輸入);goto ok;

33、printf(密碼:);scanf(%d,&m);fp = fopen(zhanghao.txt,a);fprintf(fp,n%dn%dn%d,y,m,n);fclose(fp);printf(注冊(cè)成功!請(qǐng)關(guān)閉從新登陸n(yōu));void pingjun()int h10,i;for(i=0;i10;i+)hi=0;for(i=0;iR;i+)h1=h1+stui.score1;h2=h2+stui.score2;h3=h3+stui.score3;h4=h4+stui.score4;h5=h5+stui.score5;h6=h6+stui.score6;h7=h7+stui.score7;h8=

34、h8+stui.score8;h9=h9+stui.score9;ping1=1.0*h1/R;ping2=1.0*h2/R;ping3=1.0*h3/R;ping4=1.0*h4/R;ping5=1.0*h5/R;ping6=1.0*h6/R;ping7=1.0*h7/R;ping8=1.0*h8/R;ping9=1.0*h9/R;void chaxun()int n,k,i;char w;printf(請(qǐng)輸入需要查詢(xún)的學(xué)生的學(xué)號(hào):);scanf(%d,&n);for(i=0;iR;i+)if(n=stui.num)k=i;goto ok;printf(并不存在此學(xué)生!n);printf(按

35、回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();ok:printf(學(xué)號(hào)t姓名t1.英語(yǔ)t2.高數(shù)t3.大物t4.C語(yǔ)言t5.機(jī)械制圖t6.政治t7.體育t總成績(jī)t平均分n);printf(%dt,stuk.num);printf(%st,);printf(%dt,stuk.score1);printf(%dt,stuk.score2);printf(%dt,stuk.score3);printf(%dt,stuk.score4);printf(%dtt,stuk.score5);printf(%dt,stuk.score6);print

36、f(%dt,stuk.score7);printf(%dt,stuk.score8);printf(%dtn,stuk.score9);printf(全班平均成績(jī)t%.2lft%.2lft%.2lft%.2lft%.2lftt%.2lft%.2lft%.2lft%.2lfn,ping1,ping2,ping3,ping4,ping5,ping6,ping7,ping8,ping9);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);teacher();void zuigaofen()int i,b;for(i=0;i10;i+)gaoi=0;for(i=0;ig

37、ao1)gao1=stui.score1;if(stui.score2gao2)gao2=stui.score2;if(stui.score3gao3)gao3=stui.score3;if(stui.score4gao4)gao4=stui.score4;if(stui.score5gao5)gao5=stui.score5;if(stui.score6gao6)gao6=stui.score6;if(stui.score7gao7)gao7=stui.score7;if(stui.score8gao8)gao8=stui.score8;if(stui.score9gao9)gao9=stu

38、i.score9;void gerengaofen()int k,i;char w;for(i=0;i1000;i+)k=i;if(xuehao=stui.num)goto ok;ok:printf(學(xué)號(hào)t姓名t1.英語(yǔ)t2.高數(shù)t3.大物t4.C語(yǔ)言t5.機(jī)械制圖t6.政治t7.體育t總成績(jī)t平均分n);printf(%dt,stuk.num);printf(%st,);printf(%dt,stuk.score1);printf(%dt,stuk.score2);printf(%dt,stuk.score3);printf(%dt,stuk.score4);printf(

39、%dtt,stuk.score5);printf(%dt,stuk.score6);printf(%dt,stuk.score7);printf(%dt,stuk.score8);printf(%dtn,stuk.score9);printf(全班各課最高分t%dt%dt%dt%dt%dtt%dt%dt%dt%dn,gao1,gao2,gao3,gao4,gao5,gao6,gao7,gao8,gao9);printf(全班平均成績(jī)t%.2lft%.2lft%.2lft%.2lft%.2lftt%.2lft%.2lft%.2lft%.2lfn,ping1,ping2,ping3,ping4,ping5,ping6,ping7,ping8,ping9);printf(按回車(chē)鍵返回);scanf(%c,&w);scanf(%c,&w);student();void xuehaopaixu()int j,i;for(j=0;jR;j+)for(i=0;istui+1.num)stuR+1=stui;stui=stui+1;stui+1=stuR+1;void pz()int j,i;for(j=

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論