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

正文內(nèi)容

停車場管理系統(tǒng)__程序設計(編輯修改稿)

2024-09-03 05:19 本頁面
 

【文章內(nèi)容簡介】 ec。if(sec0){min。sec=60+sec。}//進行秒、分鐘、秒時間轉(zhuǎn)換 if(min0) {hour。min=60+min。} cout\t汽車共停了 hour小時 min分 sec秒endl。 if((0!=min)||(0!=sec)) m=1。 gap= hour+m。//停車應收費的時間(單位:小時) return gap。}void passOut()//便道離開{try { if(flag==0) throw erroEmp()。 int fee=0。 system(cls)。 printStar()。 cout\t\t\t\t您進入了便道離開界面endl。 coutendl\t\t\t便道停車場共有20個車位,現(xiàn)共停flag1個車位。 endlendl。 cout\t\t\t將要離開車的信息為:endl。 cout\t車牌號碼:a[front]carNum\t車位:便道a[front]num 號\t\t停車時間:。 fee=feep(amp。a[front]timep)*0。 cout\t該車應繳納停車費為:fee 元(便車道停車免費)endl。 a[front]carNum=0。 front=(front+1)%PASS。 flag。 coutendl\t\t\t??!汽車離開成功,按任意鍵返回?。ndl。 system(pause)。 } catch(erroEmp amp。err) { ()。 }}void potOut()//停車場離開{try { if(top==0) throw erroEmp()。 int fee=0。 top。 system(cls)。 printStar()。 cout\t\t\t\t您進入了停車場離開界面endl。 coutendl\t\t\t停車場共有20個車位,現(xiàn)共停top個車位。 endlendl。 cout\t\t\t將要離開車的信息為:endl。 cout\t車牌號碼:b[top]carNum\t車位:停車場b[top]num 號\t\t停車時間:。 fee=feep(amp。b[top]timep)*8。//計費公式,每小時8元 cout\t該車應繳納停車費為:fee 元(每小時8元,不足一小時按一小時計算)endl。 b[top]carNum=0。 coutendl\t\t\t!!汽車離開成功,按任意鍵返回??!endl。 system(pause)。 } catch(erroEmp amp。err) { ()。 }}void depart()//汽車離開{ int choice=1。 if(top==0amp。amp。flag==0) throw erroEmp()。 for(。) { system(cls)。 system(color 3a)。 printStar()。 cout\t\t\t\t歡迎下次光臨停車場endlendl。 printLine()。 cout\t\t\t|\t\t\t |endl。/*打印兩個空格*/ printLine()。 cout\t\t\t|\t\t\t |endl。 printLine()。 cout\t\t\t| \t\t\t |endl。 printLine()。 printStar()。 cout\t\t請輸入你的選項:。 cinchoice。 switch(choice) { case 1:potOut()。break。 case 2:p
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1