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

正文內(nèi)容

班級成績管理系統(tǒng)c語言課程設(shè)計(jì)-其他專業(yè)(編輯修改稿)

2025-02-24 06:56 本頁面
 

【文章內(nèi)容簡介】 %s\t,p1sex)。 90) printf(\n)。 91) printf(Chinese:%d\t,p1chinese)。 92) printf(Math:%d\t,p1mathematic)。 93) printf(English:%d\t,p1english)。 94) printf(Computer:%d\t,p1puter)。 95) printf(\n)。 96) p1=p1next。 97) } 98) return p1。 99) } 100) 101) void insert() /*通過比較學(xué)號來插入數(shù)據(jù)的函數(shù) */ 102) { stu *p1,*p3,*p2。 103) char ch。 104) p1=head。 105) p3=(stu *)malloc(sizeof(stu))。 106) p3next=NULL。 107) if(head==NULL){ head=p3。 return。} 108) cin(p3)。 109) while(p1!=NULLamp。amp。(p1nump3num)) /*通過學(xué)號的比較來插入 */ 110) { p2=p1。p1=p1next。} 111) if(p2==head) {p3next=head。 head=p3。 return。} 112) p3next=p1。 113) p2next=p3。 114) 115) } 116) 117) find(stu *p2) /*通過姓名查找查看數(shù)據(jù)的函數(shù) */ 班級成績管理系統(tǒng) 11 118) { char name[20]。 119) int b=0。 120) printf(Enter the name of the student you want to find:)。 /*通過姓名查看 */ 121) scanf(%s,name)。 122) while(p2!=NULL) 123) {if(strcmp(name,p2name)==0) 124) { 125) printf(The data you want has be found\n)。 126) printf( Name:%s\t,p2name)。 127) printf(Num:%d\t,p2num)。 128) printf(sex%s\t,p2sex)。 129) printf(\n)。 130) printf(Chinese:%d\t,p2chinese)。 131) printf(Math:%d\t,p2mathematic)。 132) printf(English:%d\t,p2english)。 133) printf(Computer:%d\t,p2puter)。 134) printf(\n)。 135) b=1。 136) } 137) else if(b==0) 138) printf(sorry not find data!)。 139) p2=p2next。 140) } 141) if(b==1) 142) { 143) print()。 144) printf(Find one\n)。} 145) else 146) {print()。 147) printf(Not find\n)。 148) } 149) } 150) 151) void caverage() /*求各學(xué)生語文平均分、最高和最低分成績的函數(shù) */ 152) { stu *p1。 153) int i。 班級成績管理系統(tǒng) 12 154) float max=,min=。 155) float sum=,aver=0。 156) p1=head。 157) if(p1==NULL) 158) printf(not data!)。 159) else 160) {for(i=0。p1!=NULL。i++,p1=p1next) 161) sum+=p1chinese。 162) aver=sum/i。 163) p1=head。 164) for(i=0。p1!=NULL。i++,p1=p1next) 165) {if(maxp1chinese) 166) max=p1chinese。 167) } 168) p1=head。 169) for(i=0。p1!=NULL。i++,p1=p1next) 170) if(minp1chinese) 171) min=p1chinese。 172) } 173) printf(Chinese Average:%f,aver)。 174) printf(Chinese Max:%f,max)。 175) printf(Chinese Min:%f,min)。 176) } 177) void maverage() /*求各學(xué)生數(shù)學(xué)平均分、最高和最低分成績的函數(shù) */ 178) { stu *p1。 179) int i。 180) float max=,min=。 181) float sum=,aver=0。 182) p1=head。 183) if(p1==NULL) 184) printf(not data!)。 185) else 186) {for(i=0。p1!=NULL。i++,p1=p1next) 187) sum+=p1mathematic。 188) aver=sum/i。 189) p1=head。 班級成績管理系統(tǒng) 13 190) for(i=0。p1!=NULL。i++,p1=p1next) 191) {if(maxp1mathematic) 192) max=p1mathematic。 193) } 194) p1=head。 195) for(i=0。p1!=NULL。i++,p1=p1next) 196) if(minp1mathematic) 197) min=p1mathematic。 198) } 199) printf(Mathe Average:%f,aver)。 200) printf(Mathe Max:%f,max)。 201) printf(Mathe Min:%f,min)。 202) } 203) 204) void eaverage() /*求各學(xué)生英語平均分、最高和最低分成績的函數(shù) */ 205) { stu *p1。 206) int i。 207) float max=,min=。 208) float sum=,aver=0。 209) p1=head。 210) if(p1==NULL) 211) printf(not data!)。 212) else 213) {for(i=0。p1!=NULL。i++,p1=p1next) 214) sum+=p1english。 215) aver=sum/i。 216) p1=head。 217) for(i=0。p1!=NULL。i++,p1=p1next) 218) {if(maxp1english) 219) max=p1english。 220) } 221) p1=head。 222) for(i=0。p1!=NULL。i++,p1=p1ne
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1