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

正文內(nèi)容

c小型企業(yè)工資管理系統(tǒng)-文庫(kù)吧資料

2024-12-24 15:13本頁(yè)面
  

【正文】 total=。i2。j2。 } void sort(salesmanager p) { int tmp,i,j。 cout│ Total │ setw(10)total │endl。return total。 salary=monthlypay+mrate*total。 outfileIDno4NAMEname4SALARYsale4endl。 outfileIDno2NAMEname2SALARYsale2endl。 } outfileThe salary of saleman of sales manger and themselvesendl。t open.\n。 (f:,ios::app)。 outfileIDnoNAMEnameSEXsexAGEageSALARYsalaryendl。 abort()。 if(!outfile) { coutf can39。} void save() { fstream outfile。 } void input(){coutSales manger。 public: void salemanager() { monthlypay=5000。char name1[8],name2[8],name3[8],name4[8]。 class salesmanager:virtual public manager,virtual public salesman { private: float total。 cout │ setw(10)no │ setw(10)name │setw(10)\ sex │ setw(10)age │setw(10)salary│ endl。 salary=sales*mrate。 } void pay() { coutnameSales volume:。 } outfileTECHNICIANendl。t open.\n。 (f:,ios::app)。employee::input()。 public: salesman(){mrate=。 class salesman:virtual public employee { protected: float mrate。 cout │ setw(10)no │ setw(10)name │setw(10)sex\ │ setw(10)age│ setw(10)salary│endl。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 8 頁(yè) 共 25 頁(yè) outfileIDnoNAMEnameSEXsexAGEageSALARYsalaryendl。 abort()。 if(!outfile) { coutf can39。} void save() { fstream outfile。 } void input(){coutTECHNICIANendl。 cinworkhours。 public: technician(){hourlyrate=100。 class technician:virtual public employee { private: float hourlyrate。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 7 頁(yè) 共 25 頁(yè) cout │ setw(10)no │ setw(10)name │setw(10)sex\ │ setw(10)age│ setw(10)salary│endl。 } void pay(){salary=monthlypay。 } outfileMangerendl。t open.\n。 (f:,ios::app)。employee::input()。 public: manager(){monthlypay=8000。 }。 char sex。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 6 頁(yè) 共 25 頁(yè) char name[8]。 cinage。 cinsex。 cinname。 cinno。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 5 頁(yè) 共 25 頁(yè) 四、設(shè)計(jì)和調(diào)試分析 程序清單 : include include include include include class employee { public: employee() { salary=0。 outfileIDnoNAMEnameSEXsexAGEageSALARYsalaryendl。 abort()。 if(!outfile) { coutf can39。 } 4. Save(數(shù)據(jù)保存 ): 通過(guò)函數(shù) save()來(lái)將輸入的數(shù)據(jù)和統(tǒng)計(jì)并排序的數(shù)據(jù)進(jìn) 行保存 .例如 : void save() { fstream outfile。 } void print() { cout├─────┼─────┼─────┼─────┼─────┤ endl。 cout├─────┼─────┼─────┤ endl。 cout├─────┼─────┼─────┤ endl。 cout├─────┼─────┼─────┤ endl。 } 3. Output(數(shù)據(jù)顯示 ): 通過(guò) dowhile循環(huán)以及制表格和 setw的使用將輸入的數(shù)據(jù)和統(tǒng)計(jì)并排序的數(shù)據(jù)以表格的形式打印出來(lái),銷售額合計(jì)一欄寬度要大些。 cout│ Total │ setw(10)total │ endl。然后可以輸出 . 2. 可以對(duì)于員工數(shù)據(jù)進(jìn)行修改 ,可以查詢 . 3. 對(duì)于員工的各種情況系統(tǒng)還可
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1