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

正文內(nèi)容

c語言程序課程設(shè)計(jì)報(bào)告電費(fèi)系統(tǒng)-文庫(kù)吧資料

2025-05-29 18:04本頁(yè)面
  

【正文】 //flag也是用來進(jìn)行位標(biāo)志 int d。} 訂單查詢模塊(1) 函數(shù)名:dingdanchaxun功能:供用戶查詢自己的訂單(2) 代碼:voiddingdanchaxun(){ read1()。} printf(\n)。 Sleep(30)。 istrlen(message_out )。 printf( ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ \n)。 printf( ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ \n)。 printf( ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ \n)。 printf( ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ \n)。 printf(\n)。 printf( ☆感謝使用☆\n)。 printf(\n)。 //當(dāng)數(shù)據(jù)輸入有錯(cuò)時(shí)的跳轉(zhuǎn)標(biāo)志 } } 退出系統(tǒng)模塊(1)函數(shù)名:Outsystem功能:推出系統(tǒng)(2)代碼:圖361管理員密碼修改voidOutsystem(){ fflush(stdin)。Sleep(1000)。 //返回的是修改后的管理員登陸密碼 }else if(x == 2) { guanliyuan()。 guanliyuan()。 printf(修改密碼成功!)。m)。 printf(請(qǐng)輸入新的密碼,為六位數(shù)字:)。 p=amp。 if (x == 1) { int *p。Loop_m: scanf(%d,amp。 printf(\t\t\t || yes ||\n)。 printf(請(qǐng)輸入1或2選擇yes or no\n\n\n)。int x。 case 3: Outsystem()。 } switch(b) { case 1: goto Loop_7。 scanf(%d,amp。amp。amp。b)。 } } printf(\n返回上一層;返回主菜單;退出系統(tǒng)\n)。iM。i++) { if(guest[i].number==4||guest[i].number==5||guest[i].number==6) printf(%s\t %s\t %s\t %d\t %d\n,guest[i].name,guest[i].ID,guest[i].phone,guest[i].number,guest[i].date)。 } } if(f==2) { for(int i=0。iM。 read1()。 printf(房間類型3代表高級(jí)單人房,6代表豪華雙人房,9代表豪華大床房 || 房間狀態(tài)0代表空閑,1代表已入住\n)。 scanf(%d,amp。 }if(a==4) { system(cls)。iM。read1()。圖353按日期查詢printf(房間類型1代表高級(jí)單人房,2代表豪華雙人房,3代表豪華大床房 || 房間狀態(tài)0代表空閑,1代表已入住\n)。 scanf(%d,amp。 } } if(a==3) { system(cls)。 case 2: jiemian()。b)。b!=3) { printf(請(qǐng)輸入數(shù)字0~3,請(qǐng)重新輸入:\n)。b!=2amp。 if(b!=1amp。 scanf(%d,amp。i++)圖352按房號(hào)查詢 { if(guest[i].number==c) printf(%s\t %s\t %15d %d\t %d\n,guest[i].name,guest[i].ID,guest[i].phone,guest[i].number,guest[i].date)。 for(inti=0。printf(客戶姓名\t身份證號(hào)\t電話號(hào)碼\t房間號(hào)\t入住日期\n)。c)。a!=9) { printf(請(qǐng)輸入數(shù)字0~9,請(qǐng)重新輸入:\n)。a!=8amp。a!=7amp。a!=6amp。a!=5amp。a!=4amp。a!=3amp。a!=2amp。 if(a!=1amp。 scanf(%d,amp。 } } if(a==2) { system(cls)。 case 2: jiemian()。b)。b!=3) { printf(請(qǐng)輸入數(shù)字0~3,請(qǐng)重新輸入:\n)。b!=2amp。 if(b!=1amp。 scanf(%d,amp。 read()。a)。a!=3) { printf(請(qǐng)輸入數(shù)字0~3,請(qǐng)重新輸入:\n)。a!=2amp。 if(a!=1amp。 scanf(%d,amp。 int e。 int b。(2)代碼:voidchaxun(){Loop_7: system(cls)。 gotoLoop_manage。 } } else { printf(你輸入的密碼有誤,請(qǐng)重新輸入?。?!\n)。 case 3: Outsystem()。 case 2: mimaxiugai()。 } switch(a) { case 1: chaxun()。 scanf(%d,amp。amp。amp。a)。 printf(房間查詢;密碼修改;退出系統(tǒng)\n)。 Sleep(50)。i strlen(message_hello)。 unsignedinti。s)。 printf(請(qǐng)輸入管理員密碼,為六位有效數(shù)字:\n)。 printf( ★********************************★\n)。 printf( ★********************************★\n)。 system(cls)。 int s。(2)代碼:voidguanliyuan(){ system(cls)。c++。room[c].type=1。room[c].flag=1。b++。guest[b].date=d。 yuding()。 } else { printf(\n\n請(qǐng)重新登記\n)。 } if(k==1) { printf(\n\n您已登記入住成功,祝您在本店住得愉快!\n\n)。 scanf(%d,amp。k)。 printf(\n\n您是否確定您的信息:(1是,2否):\n)。 圖332登記信息確認(rèn) scanf(%d,amp。 j=strlen(guest[b].ID)。 while(j!=18) { printf(\n\n您的證件號(hào)碼輸入有誤,請(qǐng)您重新輸入:\n)。 scanf(%s,guest[b].ID)。 j=strlen(guest[b].name)。 while(j0) { printf(\n\n您的姓名輸入有誤,請(qǐng)您重新輸入:\n)。 scanf(%s,guest[b].name)。}if(l!=1) //1號(hào)房間空閑,登記入住1號(hào)房間{ printf(\n您選擇的是高級(jí)單人房,350元/天,您的房號(hào)是1號(hào)!)。 Sleep(1000)。amp。amp。 break。amp。amp。iM。 break。amp。amp。iM。 break。amp。amp。iM。a)。 }printf(\n\n請(qǐng)輸入您打算入住的天數(shù):(您最多只能預(yù)訂兩天)\n)。scanf(%d,amp。d)。 }printf(\n\n請(qǐng)輸入您打算入住的日期:\n)。scanf(%d,amp。amp。amp。t)。 printf(\n\n請(qǐng)輸入您打算入住的房間類型(高級(jí)單人房;豪華雙人房;豪華大床房):\n)。 printf(入住時(shí)間:14:00以后離店時(shí)間:12:00以前\n膳食安排:自助早餐 RMB \n寵物:不可攜帶寵物\n)。 system(color 3b)。 read2()。 int k。 int c=0。 int m=0。 int d。 int t。 } }}(1)函數(shù)名:yuding功能:此函數(shù)主要實(shí)現(xiàn)客戶預(yù)訂房間功能,為客戶篩選房間并且錄入客戶信息。 case 3: Outsystem()。 case 2: jiemian()。 } else { switch(j) { case 1: yuding()。j!=3) { printf(\n輸入有誤! 請(qǐng)輸入1或者2或者3中的一個(gè)數(shù)字,謝謝!\n\n\n)。j!=2amp。 if (j!=1amp。 scanf(%d,amp。printf(請(qǐng)輸入數(shù)字13選擇:\n)。printf( 返回上一層\n)。 printf(有合適您的房間嗎,是否要登記入住,請(qǐng)輸入\n)。printf( || 豪華雙人房:32平方雙床 35層¥400/天 ||\n)。 printf( ★★******************************★★******************************★★\n)。 printf( ★★******************************★★******************************★★\n)。printf( ☆歡迎進(jìn)入xx酒店房間信息瀏覽界面,希望您能找到合適滿意的房間!☆\n)。 system(color 2b)。 }} ....(1)函數(shù)名fangjianxinxi功能:客戶可在此界面瀏覽到酒店沒種類型房間的信息,以及可以選擇進(jìn)入預(yù)訂頁(yè)面,或返回上一層,或退出系統(tǒng)。 case 5: Outsystem()。 case 4: guanliyuan()。 case 3: tuiding()。 case 2: yuding()。 //返回前面定義了的標(biāo)識(shí)符 } switch(w) { case 1: fangjianxinxi()。w!=5) { printf(請(qǐng)輸入整型數(shù)字 1 or 2 or 3 or 4 or 5 !\n)。w!=4amp。w!=3amp。w!=2amp。 if(w!=1amp。 Loop_18: //用來做返回的循環(huán)標(biāo)識(shí)符 scanf(%d,amp。 printf( || 退出系統(tǒng) ||\n)。 printf( || 退訂 ||\n)。圖31主界面 printf( || 房間信息 ||\n)。 printf(********************************************************************************\n)。、 ...... voidjiemian(){system(cls)。其中number變量用于記錄用戶鍵入的數(shù)字。c. 跳轉(zhuǎn)進(jìn)入相應(yīng)程段.下面是關(guān)于菜單界面函數(shù)jiemian()的部分代碼,其中顯示與讀取功能是通過簡(jiǎn)單的printf與scanf實(shí)現(xiàn)的。界面功能主要為:a. 顯示可用功能。 //訂單查詢函數(shù)mainguanliyuandingdanchaxunOutsystemfangjianxinxiyuding Read1OutsystemmimaxiugaichaxunjiemianRead2yudingOutsystemjiemiansave_guestguanliyuanOutsystemjiemiansave_room
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1