freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c語言課程設(shè)計報告書--學(xué)生成績管理-文庫吧資料

2025-01-23 11:26本頁面
  

【正文】 se input again:)。 break。 printf(Now,%s39。pscore_3)。pscore_1,amp。 \*輸入新的成績*\ printf(Score_1 Score_2 Score_3\n)。p!=NULL。 do { scanf(%s,x)。 if(i==1) { char x[20]。amp。amp。amp。i!=4) PRI。i!=3amp。i!=2amp。 if(i!=1amp。 do { scanf(%d,amp。 \*查找學(xué)生信息*\ printf( 4:output the score of student\n)。 \*統(tǒng)計學(xué)生成績并排序*\ printf( 3:search the students39。 \*修改學(xué)生信息*\ printf( 2:calculate the students39。 do { PRINT。 p=creat()。 struct student *p,*q。 return(ave)。 sum=add(i,p)。}float average(int i,struct student *p) \*求平均分(形參為想要求和的班級和鏈表的頭指針)*\{ float ave。 if(i==pclass) sum=pscore_1+pscore_2+pscore_3。 strcpy(snextname,z)。 strcpy(z,sname)。 ssum=snextsum。 snextscore_3=c。 c=sscore_3。 sscore_2=snextscore_2。 snextscore_1=a。 a=sscore_1。 save=snextave。f==snextclass。snextamp。r。f==pclassamp。 while(f!=pclass) \*判斷是否是想要排序的班級*\ p=pnext。 char z[20]。}void sort(struct student *p,int f) \*排序(形參為鏈表的頭指針和想要排序的班級)*\{ int a,b,c,e。 } p2next=NULL。p1score_2,amp。p1class,p1name,amp。 scanf(%d%d%s%d%d%d,amp。 p2=p1。 if(n==1) head=p1。 head=NULL。p1score_2,amp。p1class,p1name,amp。 scanf(%d%d%s%d%d%d,amp。 printf(Please input the student information:\n)。 n=0。struct student *creat(void) \*創(chuàng)建信息鏈表*\{ struct student *head。}。 \*平均分*\ int sum。 \*科目二*\ int score_3。 \*姓名*\ int score_1。 \*學(xué)期*\ int class。amp。顯示學(xué)生成績信息(void Disp(Link l))(1)選擇想要查詢的項目(學(xué)生各科成績、不及格科目、班級成員);(2)用指針檢驗是否有記錄;(3)若無記錄,輸出提示信息,返回主函數(shù);若有記錄,移動指針,依次輸出記錄;查詢班級成績信息(void Find(Link l))(1)選擇所要查詢的班級;(2)輸入班級:(3)在鏈表中尋找相應(yīng)結(jié)點;(4)輸出結(jié)點信息。修改信息(1)定義指
點擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1