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

正文內(nèi)容

c課程設(shè)計(jì)---企業(yè)員工工資管理系統(tǒng)-資料下載頁

2025-01-16 04:41本頁面
  

【正文】 t\t\t~ 企業(yè)員工工資管理系統(tǒng) \t~endl。 cout\t\t~ *******主菜單 ******* \t~endl。 int n=1,select=1。 cout\t\t~ n++.輸入員工信息 \t\t~endl。 cout\t\t~ n++.刪除指定員工編號(hào)信息 \t\t~endl。 cout\t\t~ n++.修改指定員工編號(hào)信息 \t\t~endl。 cout\t\t~ n++.查找指定員工編號(hào)信息 \t\t~endl。 cout\t\t~ n++.輸出全體員工信息 \t\t\t~endl。 cout\t\t~ \t\t\t\t~endl。 cout\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\t\tendl。 cout[請(qǐng)選擇 0— 5(輸入相應(yīng)數(shù)字 )]:。 cinselect。 return select。 } /*****************************************************/ //功能:退出程序 char Exit() { char s。 cout確定要退出程序嗎? [Y/N]:。 cins。 return s。 } /*****************************************************/ //功能:輸入員工信息 void Input(int * num,string * name,int * age,string * sex,string * department,string * title,float The gnralstf(1mpoyidvc,u)0jb。5w22 * wage,float * allowance) { cout現(xiàn)在輸入員工信息 !endl。 cout員工編號(hào) :。 cin* num。 if(* num==1)return。 cout員工姓名 :。 cin* name。 cout年齡 :。 cin* age。 cout性別 :。 cin* sex。 cout部門 :。 cin* department。 cout職務(wù) :。 cin* title。 cout工資 (元 ):。 cin* wage。 cout津貼 (元 ):。 cin* allowance。 return。 } /*****************************************************/ //功能:把員工信息插入到鏈 表中 void AddNew() { int num=0。 string name。 int age=0。 The gnralstf(1mpoyidvc,u)0jb。5w23 string sex。 string department。 string title。 float wage=0。 float allowance=0。 float tax=0。 float real_wage=0。 cout當(dāng)輸入的員工編號(hào)為 1 是表示結(jié)束輸入 endl。 Input(amp。num,amp。name,amp。age,amp。sex,amp。department,amp。title,amp。wage,amp。allowance)。 while(num!=1) { (num,name,age,sex,department,title,wage,allowance)。 (tax,real_wage)。 (num,name,age,sex,department,title,wage,allowance,tax,real_wage)。 Input(amp。num,amp。name,amp。age,amp。sex,amp。department,amp。title,amp。wage,amp。allowance)。 } cout員工工資信息已成功存儲(chǔ) !!!endl。 return。 } /*****************************************************/ //功能:查找指定員工編號(hào)信息 void DoFind() { int num。 cout當(dāng)輸入的員工編號(hào)為 1 是表示結(jié)束輸入 endl。 do{ cout請(qǐng)輸入要查找的員工的編號(hào) :。 cinnum。 if(num==1)continue。 The gnralstf(1mpoyidvc,u)0jb。5w24 (num)。 }while(num!=1)。 return。 } /*****************************************************/ //功能:刪除指定員工編號(hào)信息 void DoDelete() { cout當(dāng)輸入的員工編號(hào)為 1 是表示結(jié)束輸入 endl。 int num。 do { cout請(qǐng)輸入要?jiǎng)h除的員工的編號(hào) :。 cinnum。 if(num==1)continue。 (num)。 cout已成功刪除該員工信息 !!!endl。 }while(num!=1)。 return。 } /*****************************************************/ //功能:修改指定員工編號(hào)信息 void DoMotify() { cout當(dāng)輸入的員工編號(hào)為 1 是表示結(jié)束輸入 endl。 int num。 do { cout請(qǐng)輸入要修改的員工的編號(hào): 。 cinnum。 The gnralstf(1mpoyidvc,u)0jb。5w25 if(num==1)continue。 (num)。 }while(num!=1)。 cout已成功修改該員工信息 !!!endl。 return。 } /*****************************************************/ //功能:輸出全體員工信息 void List() { ()。 } /*****************************************************/ /*主函數(shù) */ int main() { int select。 char s。 while(1) { select=Menu()。 switch(select) { case 0: s=Exit()。 if(s==39。y39。||s==39。Y39。)return 0。 break。 case 1: AddNew()。 The gnralstf(1mpoyidvc,u)0jb。5w26 break。 case 2: DoDelete()。 break。 case 3: DoMotify()。 break。 case 4: DoFind()。 break。 case 5: List()。 break。 default: cout無效輸入! endl。 } } return 0。 } 參 考 文 獻(xiàn) [1] 陳天華編 .面向?qū)ο蟪绦蛟O(shè)計(jì)與 Visual C++ 教程 [M].北京 :清華大學(xué)出版社 ,202
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1