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

正文內容

水電費管理系統(tǒng)課程設計-文庫吧

2025-05-13 00:06 本頁面


【正文】 case 1:sex=男 。break。 case 2:sex=女 。break。 default:cout輸入錯誤。 endl。break。 } cout請輸入年齡: endl。 cinage。 cout請選擇所在班級: endl。 cout 1201 班 1202 班 1203 班 信 1204 班 endl。 cout請輸入你的選擇 endl。 cinchoice1。 switch(choice1) { case 1:bj=通信 1201 班 。break。 case 2:bj=通信 1202 班 。break。 case 3:bj=通信 1203 班 。break。 case 4:bj=通信 1204 班 。break。 default:cout輸入錯誤。 endl。break。 } cout請輸入本月的用水量 endl。 cinwater。 cout請輸入本月的用電量 endl。 cinpower。 watermoney=*(water10)。 powermoney=*(power10)。 } void Output() { coutnum name sex age bj water power watermoney powermoney endl。 } }。 class Stu_Manage { Student Stu[TMAX]。 int top。//top public: Stu_Manage(){top=0。} void Add()。 void Show()。 void Search()。 void Edit()。 void Delete()。 void Total()。 }。 void Stu_Manage::Add() { if(top=TMAX) { cout用戶已滿 endl。 return。 } Student s。 cout輸入新添加的人員的信息 endl。 ()。 for(int i=0。itop。i++) if (()==Stu[i].GetNum()) { cout該編號的人員已存在 endl。 return。 } Stu[top]=s。 top=top+1。 cout添加成功 !endl。 } void Stu_Manage::Show() { if(top==0) { cout無數(shù)據(jù) !endl。 return。 } cout學號 姓名 性別 年齡 班級 用水量 用電量 水費 電費 endl。 for(int i=0。itop。i++) Stu[i].Output()。 } void Stu_Manage::Search() { if(top==0) { cout當前系統(tǒng)中沒有存儲記錄 endl。 return。 } int choice。 cout請選擇查找方式 : endl。 cinchoice。 switch(choice) { case 1: { cout請輸入要查找的姓名 endl。 string name。 cinname。 cout學號 姓名 性別 年齡 班級 用水量 用電量 水費 電費 endl。 for(int i=0。itop。i++) { if(Stu[i].GetName()==name) { Stu[i].Output()。 } } return。 cout查無 此人! endl。 }break。 case 2: { cout請輸入要查找的水量 :endl。 double water。 cinwater。 cout學號 姓名 性別 年齡 班級 用水量 用電量 水費 電費 endl。 for(int i=0。itop。i++) { if(Stu[i].GetWater()==water) { Stu[i].Output()。 } } return。 cout查無此人! endl。 }break。 case 3: { cout請輸入要查找的電量 :endl。 double power。 cinpower。 cout學號 姓名 性別 年齡 班級 用水量 用電量 水費 電費 endl。 for(int i=0。itop。i++) { if(Stu[i].GetPower()==power) { Stu[i].Output()。 } } return。 cout查無此人! endl。 }break。 default :cout無此選項 !請重試 !endl。break。 } } void Stu_Manage::Edit() { if(top==0) { cout當前系統(tǒng)中沒有存儲記錄 !endl。 return。 } int num。 cout請輸入要查找的學號 :endl。 cinnum。 for(int i=0。itop。i++) { if(Stu[i].GetNum()==num) { cout請對這位學生的 信息進行修改 :endl。 Stu[i].Input()。 cout修改成功 endl。return。 } } cout查無此人 endl。 } void Stu_Manage::Delete() { if(top==0) { cout當前系統(tǒng)中沒有存儲記錄 !endl。 return。 } cout按編號查找刪除 按姓名查找刪除 en
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1