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

正文內(nèi)容

c課程設計報告運動會分數(shù)統(tǒng)計系統(tǒng)畢業(yè)設計(doc畢業(yè)設計論文)(編輯修改稿)

2025-07-25 08:24 本頁面
 

【文章內(nèi)容簡介】 { coutpname 。 return。 } p=pnext。 } cout 無   。}void department_search(int a)//按編號搜索系{ Department *p。 p=head1。 p=pnext。 while(p) { if(pnumber==a) { cout系名:pname 男子團體總分:pboy 女子團體總分:pgirl 總分:(pboy+pgirl) 。 return。 } p=pnext。 } cout無此編號。}void department_addmark(int a,int b,int c)//a為分數(shù),b為系編號,c=1表示男,c=0表示女{ Department *p。 p=head1。 p=pnext。 while(p) { if(pnumber==b) { if(c==39。139。) { pboy=pboy+a。 } else { pgirl=pgirl+a。 } } p=pnext。 }}void department_order(Department *temp,int type) //type=0按總分,type=1按男總分,type=2按女總分,{ Department *p,*q,*small,*temp1。 temp1=new Department。 temp1next=NULL。 p=temp。 while(p) { small=p。 q=pnext。 while(q) { switch(type) { case 0: if((qboy+qgirl)(smallgirl+smallboy)) { small=q。 } break。 case 1: if(qboysmallboy) { small=q。 } break。 case 2: if(qgirlsmallgirl) { small=q。 } break。 default: couterrorendl。 } if(small!=p) { temp1boy=pboy。 pboy=smallboy。 smallboy=temp1boy。 temp1girl=pgirl。 pgirl=smallgirl。 smallgirl=temp1girl。 strcpy(temp1name,pname)。 strcpy(pname,smallname)。 strcpy(smallname,temp1name)。 temp1number=pnumber。 pnumber=smallnumber。 smallnumber=temp1number。 //將系的名字互換 } q=qnext。 } p=pnext。 }}Sport * head2。int sport_isexist(int a) //檢查運動項目(編號)是否已經(jīng)存在{ int b=0。 Sport *p。 p=head2。 p=pnext。 while(p) { if(pnumber==a) { return 1。 } p=pnext。 } return 0。}void sport_add() //添加項目{ Sport * p。 int mark=0。 p=new Sport。 cout請輸入項目名稱:。 cinpname。 char c。 while (mark!=1) { cout請輸入項目編號:。 cinc。 if (!isdigit(c)) { cout數(shù)據(jù)非法endl。 } else { if(sport_isexist(c)) { cout該編號已存在endl。 } else { mark=1。 pnumber=c。 } } } mark=0。 while (mark!=1) { cout請輸入項目類型(0為女子項目,1為男子項目):。 cinc。 pisboy=(int)(c39。039。)。//字符轉(zhuǎn)換成數(shù)字 if (!isdigit(c)) { cout數(shù)據(jù)非法endl。 } else if(pisboy0||pisboy1) { cout數(shù)據(jù)非法endl。 } else { mark=1。 pisboy=c。 } } mark=0。 while (mark!=1) { cout請輸入項目名次情況(0為取前3名,1為取前5名):。 cinc。 pis3=(int)(c39。039。)。 if (!isdigit(c)) { cout數(shù)據(jù)非法endl。 } else if(pis30||pis31) { cout數(shù)據(jù)非法endl。 } else { mark=1。 pis3=c。 } } mark=0。 while (mark!=1) { cout請輸入第一名的系的編號:。 cinc。 if (!isdigit(c)) { cout數(shù)據(jù)非法endl。 } else { if(!department_isexist(c)) { cout該系不存在,請先添加。 } else { mark=1。 pfirst=c。 if(pis3==39。
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1