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

正文內(nèi)容

職工工資管理系統(tǒng)課程設(shè)計論文(參考版)

2024-08-31 23:17本頁面
  

【正文】 ()。 } while(()) { cout 對不起您的輸入錯誤 !請重新輸入 : 。////////////////////刷新 輸入緩沖區(qū) ()。 if(())////錯誤輸誤 { cout sorry for you to input error! Please input again : 。 case 4: cout Please Enter The Search Number:。 coutNumberofStaffAndWorkerstoParticipateinTheWorkIs:t(head)person \n\n。 case 3: (head)。 case 2: (head)。 case 1: head=()。 } switch(choice) { case 0: head=()。 while(choice0||choice9) { cout sorry for you to input error! Please input (09) again : 。 cout Please Enter Your Choice.(09):。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 cout\t ※ ※ endl。 新疆大學(xué)軟件學(xué)院《面向?qū)ο蟪绦蛟O(shè)計》 課程設(shè)計報告 39 cout\t※※※※※※※※※※※※※※※※※※※※ endl。 cout\tRelevant Operation Option ※ endl。 cout\t※※※※※※※※※※※※※※※※※※※※ endl。 cout\t ※ ※ endl。 cout\t※ Weling to Use The Wage Management System ※ endl。 cout” ※ ※ ”endl。 long i。 worker *head=NULL。 return (head)。 } coutThe data has been read!\n\nendl。 //將 n 的值加 1 //顯示讀入數(shù)據(jù) cout p1name\t p1id \t p1sex \t p1paid[0] \t p1paid[1] \t p1paid[2] \t p1totalendl。 //否則將 p1 賦給 p2所指結(jié)構(gòu)體的 next 指針 p2=p1。 if(n==0) head=p1。 p1paid[2]=[2]。 p1paid[0]=[0]。 p1id=。 in [0][1][2]。i0。 cout ………………………………………………………………………………………………endl。 cout ………………………………………………………………………………………………………endl。 return 0。 ini。 head=NULL。 int i=0。此函數(shù)意在保存一定信息,為員工及董事對工資有一定掌控。 head=headnext。 outcount(head)endl。 void Information::save(worker *head) { system(cls)。 cout\n。 cout\n。arg3/=m。 } arg1/=m。 arg3+=p1paid[2]。k++) { arg1+=p1paid[0]。 for(k=0。 } else { m=count(head)。 float arg1=0,arg2=0,arg3=0。 cout\n。im。 p[j]=p2。j++) if(p[k]totalp[j]total) { p2=p[k]。k++) //選擇排序法 for(j=k+1。 } for(k=0。k++) { p[k]=p1。 for(k=0。 coutv\n。 cout\n。 cout\n。 worker *p[N]。 //定義 paixu()函數(shù)將職工的工資總額從大到小排列并輸出 void Information::paixu(worker *head) { system(cls)。 } } //查找職工信息 職工工資信息查找函數(shù)是職工工資管理系統(tǒng)的功能之一,這是一種特殊的應(yīng)對方案。 } else 新疆大學(xué)軟件學(xué)院《面向?qū)ο蟪绦蛟O(shè)計》 課程設(shè)計報告 32 coutTherearenoworkerswhoseidisidof workers.\n。 coutsetw(6)p1id setw(10)p1name setw(10)p1sex setw(10)p1paid[0] setw(10)p1paid[1] setw(12)p1paid[2] setw(12)p1totalendl。 cout|Id| |Name| |Sex| |Basic wage| |Overtime wage| |other bonuses| |Total|\n。p1next!=NULL)//尋找結(jié)點(diǎn)當(dāng) p1 所指的職工編號不是輸入的職工編號并且 p1所指的 next 指針不為空 { p1=p1next。 //否則將頭指針賦給 p1 while(id!=p1idamp。 新疆大學(xué)軟件學(xué)院《面向?qū)ο蟪绦蛟O(shè)計》 課程設(shè)計報告 31 return(head)。 worker *Information::find(worker *head,long id) { system(cls)。 return(head)。 //計算總分 } else coutnoneedtomodifythenumberofinformationintheididof workers\n\n。 cinp1paid[2]。)。 (1024,39。 cinp1paid[2]。 cinp1paid[1]。)。 (1024,39。 cinp1paid[1]。 cinp1paid[0]。)。 (1024,39。 cinp1paid[0]。 cinp1sex。 cinp1name。 cinp1id。)。 (1024,39。 cinp1id。 新疆大學(xué)軟件學(xué)院《面向?qū)ο蟪绦蛟O(shè)計》 課程設(shè)計報告 29 cout\n。 cout\n。 cout\n。p1next!=NULL) { p1=p1next。 //否則將頭指針賦給 p1 while(id!=p1idamp。 p1=(worker *)malloc(LEN)。 worker *Information::modify(worker *head,long id) { system(cls)。 //將職工人數(shù)減 1 } return(head)。 cout Delete the id ofidworker is\n。 } //p2指向原 p1指向的結(jié)點(diǎn) p1后移一個結(jié)點(diǎn) if(id==p1id) //如果輸入的職工編號是 p1所指的職工編號//結(jié)點(diǎn)找到后刪除 { if(p1==head) head=p1next。p1next!=NULL) { p2=p1。 //否則將頭
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1