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

正文內(nèi)容

c課程設(shè)計(jì)復(fù)數(shù)類的設(shè)計(jì)課程設(shè)計(jì)論文-在線瀏覽

2024-08-08 08:02本頁(yè)面
  

【正文】 cinend。 cintimehour。 cintimeminiute。 } void leftseat_input()//錄入剩余座位數(shù) { cinleftseat。 } void tui()//退票后剩余票數(shù)自動(dòng)加一 { leftseat=leftseat+1。flight_system *hangkong=new flight_system[15]。 void foundation_2()。 //聲明基礎(chǔ)功能模塊 void foundation_4()。while(1){ struct tm *local。 time_t t。 local=localtime(amp。 strftime(s1,128,%Y%m%d %H:%M ,local)。 cout endl。 cout endl。 int n。 while(!(n == 1 || n == 2 || n == 3 || n == 4 || n == 5||n == 0)) { cout 請(qǐng)輸入正確編號(hào)(0~5):。 } switch(n) {case 1 :{foundation_1()。break。}。 //功能選擇模塊 case 3 :{foundation_3()。break。}。 case 5 :{foundation_5()。break。}。} }}/***********************************************功能模塊一********************************************/void foundation_1(){cout歡迎進(jìn)入信息管理系統(tǒng)endl。 int miyue=0。 //管理員控制權(quán)限 cinmiyue。} if(miyue==mima) { coutendl密碼正確!endlendl請(qǐng)輸入操作編號(hào),添加請(qǐng)按1,刪除請(qǐng)按2,退出請(qǐng)按339。 int n。 while(!(n==1||n==2||n==3)) {cout 請(qǐng)輸入正確編號(hào)(1~3):。} switch(n) { case 3:{return 。break。 hangkong[num].hangban_input()。 hangkong[num].start_input()。 hangkong[num].end_input()。 hangkong[num].timehour_input()。 //航班信息錄入 cout請(qǐng)輸入票價(jià):。 cout請(qǐng)輸入座位數(shù):。 cout信息錄入成功!endl。 cout繼續(xù)請(qǐng)按1,退出請(qǐng)按239。 int x。 while(!(x==1||x==2)) {cout 請(qǐng)輸入正確編號(hào)(1~2):。} //實(shí)現(xiàn)循環(huán)操作 switch(x) {case 1: foundation_1()。//遞歸調(diào)用實(shí)現(xiàn)循環(huán) case 2: return 。}}。 case 2: {cout請(qǐng)輸入要?jiǎng)h除的航班號(hào)!。 int s。 int t=0,y。tnum。 if(y==0) {cout確認(rèn)刪除1,退出請(qǐng)按2endl。 while(!(s!=1||s!=2)) {cout 請(qǐng)輸入正確編號(hào)(1~2):endl。 } //實(shí)現(xiàn)循環(huán)操作 switch(s) {case 1:hangkong[t]=hangkong[t1]。 cout刪除成功!。 //遞歸調(diào)用實(shí)現(xiàn)循環(huán) case 2: return 。 } } if(y!=0) {coutendl沒有此航班信息,不能刪除!endl。 int s。 while(!(s!=1||s!=2)) { cout 請(qǐng)輸入正確編號(hào)(1~2):。 } //實(shí)現(xiàn)循環(huán)操作 switch(s) { case 1: foundation_1()。//遞歸調(diào)用實(shí)現(xiàn)循環(huán) case 2: return 。 } } coutendl繼續(xù)請(qǐng)按1,退出請(qǐng)按239。 cins。 cin s。break。break。break。} /***************************************************************************************************/ }/********************************************功能模塊二***********************************************/void foundation_2(){ coutendl******************************歡迎進(jìn)入信息瀏覽系統(tǒng)***************************endl。 char a。 coutendl按任意字母退出!。 return 。} for(x=0。x++) {coutendlendl航班號(hào) 起飛時(shí)間 起點(diǎn)站 終點(diǎn)站 經(jīng)濟(jì)艙票價(jià) 剩余票數(shù)endl。 hangkong[x].hangban_output()。 couthangkong[x].timehour_output()。 couthangkong[x].timeminiute_output()。cout 。 cout 。cout 。cout 。 } coutendl感謝您的使用endl。 cina。}/******************************************************功能模塊三*************************************************/void foundation_3(){ coutendl*****************************歡迎進(jìn)入信息查詢系統(tǒng)!****************************endl。 coutendl按任意字母退出!。 cina。 } if(num0) {coutendl請(qǐng)輸入查詢方式,按站點(diǎn)查詢請(qǐng)輸入1,按航班號(hào)查詢請(qǐng)按2,返回主菜單請(qǐng)按3endl。 cina。 cin a。 case 2:{cout請(qǐng)輸入航班號(hào):。 int y,t。 for(t=0。t++) {y=hangkong[t].hangban_return(x)。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1