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

正文內(nèi)容

水電煤氣管理系統(tǒng)-免費閱讀

2025-05-12 22:48 上一頁面

下一頁面
  

【正文】 } break。 TeaMan *Te。 cout請輸入你將要輸入的學生人數(shù):。 cout endl。 } // void main() { int choice。 coutendl。 cinTe[nt].gas。 i=nt。j++) Te[j]=Te[j+1]。 cinname。 cout該教師的信息已被刪除!endl。 for(i=0。 break。 while(1) { cout請選擇:。 cout ☆ 水電煤氣管理系統(tǒng) ☆endl。 coutTe[item]endl。 cout請輸入需要查找的教師姓名:。 } if(flag1) { cout編號 姓名 用水量用電量 用煤氣量水費 電費煤氣費 總額 交費否endl。 cout 歡迎使用查詢功能endl。 break。 cout endl。 int choice。 } else { cout該教師交費成功,且找零錢為moneyTe[i].GetTotal()元endl。int。 NumFee()。 Te[i].flag=0。 cinnumber。 break。 while(1) { cout請選擇:。 cout ☆ 水電煤氣管理系統(tǒng) ☆endl。 tfileTe[i].gas。 default: break。 case 2:CheckMenu()。 cout endl。 cout ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 // 輸入編號刪除 void NameDelete()。 // 教師交費菜單 void NumFee()。 return Powerprice。 } void TFeebz::operator =(TFeebz r) // 運算符重載 { name=。 double water,power,gas,Waterprice,Powerprice,Gasprice。 return out。 outsetw(8)left。i++) if(!St[i].flag) coutSt[i]。i++) if(St[i].flag) coutSt[i]。 cinSt[ns].power。 cinn。jns1。 cout請輸入要刪除學生的姓名:。j++) St[j]=St[j+1]。 cinnumber。 MainMenu()。 cout endl。 cout ☆ ☆endl。 } if(flag1) { cout學號姓名 用水量用電量 用煤氣量 水費電費 煤氣費 總額 交費否endl。 cout歡迎使用查詢功能endl。 break。 int flag1=0,i,item。 case 2:NameCheck()。 cout endl。 } } void StuMan::CheckMenu() // 學生查詢菜單 { system(cls)。 MainMenu()。 for(int i=0。 cout該學生的學號輸入錯誤,請重新使用該功能!endl。 if(moneySt[i].GetTotal()) { cout該同學需再補交St[i].GetTotal()money元endl。 cout請輸入學生學號:。 MainMenu()。 cout endl。 cout ☆ ☆endl。 tfileSt[i].power。 break。 break。 cout endl。 int choice。 // 學生刪除菜單 void NumDelete()。 // 主菜單 void FeeMenu()。 return Powerprice。 water=。 Feebz::Feebz(string Num,string Name, double Water, double Power, double Gas) // 構(gòu)造函數(shù) {number=Num。 // 運算符重載 double GetW()。 outsetw(8)left()。 // 構(gòu)造函數(shù) friend ostream amp。六、 實踐總結(jié):課程設汁的過程中遇到了很多麻煩,雖然我早有心理準備,但還是令我傷透了腦筋,只怪自己平時看書太少,其實有很多東匹在書上都可以找到答案的,可是還是有一些問題我實在沒有辦法解決,最終通過老師和同學們的努力解決了一個又一個的問題。在設計時要考慮到學生和教工在用水電時的不同,學生可以免費使用一定額度的水電,超過這個額度的水電以后必須自費使用,且自費部分水電費的價格標準要高于教工的收費標準(主要是節(jié)約資源)。在設計時要考慮到學生和教工在用水電時的不同,學生可以免費使用一定額度的水電,超過這個額度的水電以后必須自費使用,且自費部分水電費的價格標準要高于教工的收費標準(主要是節(jié)約資源)。3.測試數(shù)據(jù)可選用小區(qū)物業(yè)管理部門的數(shù)據(jù),也可采用手工輸入不少于10個用戶信息的數(shù)據(jù)。學生的查詢功能分別為學號和姓名,老師的查詢功能為編號和姓名,也可以查詢到是否繳費,如未交費就會分別顯示水費、電費、煤氣費、費用并顯示總費用。 問題2還有一個不足就是程序感覺不夠簡練,有點羅嗦。七、 源代碼:include iostreaminclude stringinclude cstdlibinclude iomanipinclude fstreamusing namespace std。 outsetw(8)left。 else out未交。 int flag。 flag=0。 return Waterprice。 St=new Feebz[size]。 // 輸入學號查詢 void NameCheck()。 Feebz *St。 cout ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆endl。 while(1) { cout請選擇:。 case 4:Add()。 while(()) { tfileSt[i].number。 } void StuMan::FeeMenu() //學生交費菜單 { system(cls)。 cout endl。 case 2:NameFee()。 float money。 cout該同學應該交費共St[i].GetTotal()元endl。 MainMenu()。 cout 歡迎使用交費功能endl。 cinmoney。 } if(!flag1) { system(cls)。 cout ☆ ☆endl。 cinchoice。 default:exit(1)。ins。 NumCheck()。i++) if(name==St[i].name) { flag1=1。 } } void StuMan::DeleteMenu() // 學生刪除菜單 { system(cls)。 cout endl。 case 2:NameDelete()。 int item=1,i,j。 break。 } } void StuMan::NameDelete() // 輸入姓名刪除 { string name。 j=i。 NameDelete()。 cinSt[ns].number。 cout學號 姓名 用水量用電量用煤氣量 水費 電費煤氣費 總額 交費否endl。 cout學號姓名 用水量用電量 用煤氣量水費 電費 煤氣費 總額 交費否endl。r) // 運算符重載 { outsetw(12)left。 outsetw(8)left()。 // 計算教師氣費 double GetTotal() { return GetW()+GetP()+GetG()。 power=Power。 } double TFeebz::GetW() // 計算教師水費 { Waterprice=*(water6)。} // 構(gòu)造函數(shù) ~TeaMan() {delete [ ] Te。 // 輸入姓名查詢 void Add()。
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1