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

正文內(nèi)容

職工工資管理系統(tǒng)課程設(shè)計(jì)報告-文庫吧資料

2025-07-26 04:40本頁面
  

【正文】 getchar()。 if(i==1) save(n1)。 //詢問是否保存刪除后的職工信息 scanf(%d,amp。i++) output(i)。 //刪除信息后,將后面的職工信息按原來的順序補(bǔ)充 for(i=0。in1。 f2()。 //沒有找到該職工,重新輸入 } while(j==1)。i++) if(k==worker[i].num) j=i。 for(i=0。 //輸入需要刪除的職工工號 scanf(%d,amp。 //沒有找到該職工,重新輸入 } while(j==1)。i++) if(strcmp(m,worker[i].name)==0) j=i。 for(i=0。 //返回到刪除函數(shù) } else if(d==1) { do { printf(\nPlease input the name:)。 //輸入錯誤,按enter鍵繼續(xù) getchar()。amp。d)。 printf(\ninput your selection:)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 //選擇通過何種方式刪除信息 printf(\n\n)。 //打開只讀文件 printf(\n\n)。 //清屏 n=P()。 FILE *fp。 //返回到添加函數(shù)}void Delete() //刪除函數(shù){ int i,j=1,d,k,t,n。 //關(guān)閉文件 select()。worker[i],sizeof(struct worker),1,fp)!=1) //判斷是否寫入了數(shù) printf(file write error.\n)。ik。 menu()。 //職工的總工資 } if((fp=fopen(D:\\,ab))==NULL) //如果文件為空,則不能打開文件 { printf(\nCan not open file.\n)。i++) { input(i)。 for(i=n。 if(k=100) { printf(\n\nPlease input their information:\n\n)。m)。 printf(\n\nHow many people do you want to add:)。 //定義一個文件指針 system(cls)。 //選擇顯示信息或返回到菜單}void Add() //添加函數(shù){ int i,k,m,n。 Search()。d!=2) { printf(\nInput error! Press any key to continue.)。 //輸出信息 } if(d!=1amp。 f2()。 //沒有找到該職工,重新輸入 } while(j==1)。i++) if(strcmp(m,worker[i].name)==0) j=i。 for(i=0。 //輸出信息 } else if(d==1) { do { printf(\nPlease input the name:)。 f2()。 //沒有找到該職工,重新輸入 } while(j==1)。i++) { if(k==worker[i].num) j=i。 for(i=0。 //輸入需要查找的職工工號 scanf(%d,amp。d)。 printf(Please input your selection:)。 printf(\t\t****************************************\n)。 printf(\t\t* number to search *\n)。 printf(\t\t* name to search *\n)。 //選擇方式的界面 printf(\t\t****************************************\n)。 //清屏 printf(Choose the way you want to search:\n)。 n=P()。}void Search() //查找函數(shù){ int i,j=1,k,d,n。 //返回到菜單 getchar()。 if(i==1) save(n)。 //詢問是否保存修改后的信息 scanf(%d,amp。 //職工的總工資 output(j)。 f2()。 } getchar()。 default:printf(Error!choice again!!\n)。 printf(\nafter modify:%d,worker[j].gongjijin)。 scanf(%d,amp。 case 7:printf(\nbefore modify:%d,worker[j].gongjijin)。 printf(\nafter modify:%d,worker[j].yiliaobaoxian)。 scanf(%d,amp。 case 6:printf(\nbefore modify:%d,worker[j].yiliaobaoxian)。 printf(\nafter modify:%d,worker[j].jintie)。 scanf(%d,amp。 case 5:printf(\nbefore modify:%d,worker[j].jintie)。 printf(\nafter modify:%d,worker[j].zhiwugongzi)。 scanf(%d,amp。 case 4:printf(\nbefore modify:%d,worker[j].zhiwugongzi)。 printf(\nafter modify:%d,worker[j].jibengongzi)。 scanf(%d,amp。 case 3:printf(\nbefore modify:%d,worker[j].jibengongzi)。 printf(\nafter modify:%d,worker[j].num)。 scanf(%d,amp。 case 2:printf(\nbefore modify:%d,worker[j].num)。 printf(\nafter modify:%s,worker[j].name)。 printf(\nchange to:)。t)。 printf(\nPlease input your selection:)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 printf(\t\t* *\n)。 } printf(\nWhat do you want to modify?\n\n)。 if(j==1) printf(\nNot find!Please again!\n)。in。k)。 } else { do { printf(\nPlease input the num:)。 if(j==1) printf(\nNot find!Please input again!\n)。in。 //輸入需要修改職工的姓名 scanf(%s,m)。 Modify()。d!=2) { printf(\ninput error! Press any key to continue.)。 if(d!=1amp。 scanf(%d,amp。 printf(\t\t****************************************\n)。 printf(\t\t* number to modify *\n)。 printf(\t\t* name to modify *\n)。 //選擇方式的界面 printf(\t\t****************************************\n)。 printf(Choose the way you want to modify:\n)。 //清屏 n=P()。 FILE *fp。 //選擇顯示信息或返回到菜單}void Modify() //修改函數(shù){ int i,j=1,d,k,t,n。 //如果輸入的職工人數(shù)超過100,返回輸入函數(shù)重新輸入 save(p)。 //計(jì)算職工的總工資 worker[i].qiansan=worker[i].jibengongzi+worker[i].zhiwugongzi+worker[i].jintie。i++) { input(i)。 for(i=0。 printf(\n)。p=100) //輸入職工的信息 { printf(\n\n)。 if(p=0amp。 //輸入需要輸入信息的職工人數(shù) scanf(%d,amp。 clrscr()。 } } else menu()。 case 7:Exit()。 case 6:Show()。 case 5:Delete()。 case 4:Add()。 case 3:Sear
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1