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

正文內(nèi)容

c語言課程設(shè)計報告—客房管理系統(tǒng)-全文預(yù)覽

2025-09-04 21:16 上一頁面

下一頁面
  

【正文】 anf(%d,amp。 puts(\n\tSex(1 for men || 0 for women):\t)。 } for(j=p。 puts(\n\tPrice:\t)。scanf(%d,amp。m)。scanf(%d,amp。void stat()。void search()。void load_room()。void search_one()。 /*實現(xiàn)兩個結(jié)構(gòu)體的嵌套*/}room[N]。 /*房間號*/ char tel[15]。 int month。 int sex。break。break。}while(w==1)。scanf(%d,amp。puts(\t\t\t ||(4).Modify ||\n)。do{puts(\n\n\n\t***************************MENU*****************************\n\n)。 p=p+n。 puts(\n\tDate:\t)。room[i].client_list[j].year)。 puts(\n\tID_card:\t)。room[i].client_list[j].sex)。j++){ puts(\n\tName:\t)。room[i].price)。 puts(\n\tTel:\t)。ir+m。printf(\tHow many rooms they want? )。}void regist() /**注冊函數(shù)**/{int n,m,i,j。printf(\n\n\n\t\t\tPress any key to continue.....)。試設(shè)計一客房管理系統(tǒng),使之能提供以下功能:(1) 系統(tǒng)以菜單方式工作(2) 客戶信息錄入功能(客戶信息用文件保存)(3) 客戶信息統(tǒng)計功能(4) 客戶信息查詢功能,查詢方式(5) 客戶信息修改功能(可選項) [提示] 建立客戶信息結(jié)構(gòu)體,結(jié)構(gòu)體成員包括身份證號、姓名、性別、年齡、房間號 二、需求分析根據(jù)題目要求,要求對客戶信息進(jìn)行輸入、輸出等操作;在程序中需要瀏覽客戶的信息,應(yīng)提供顯示、統(tǒng)計、查詢、修改等操作;另外還應(yīng)提供鍵盤式選擇菜單實現(xiàn)功能選擇??头抗芾硐到y(tǒng)包括客戶基本信息的錄入、統(tǒng)計、查詢、修改功能。中國地質(zhì)大學(xué)(武漢)C語言課程設(shè)計論文學(xué) 院: 資源學(xué)院 專 業(yè): 油氣勘查 題 目: 客房管理系統(tǒng)設(shè)計 班 級: 0 2 1 1 0 3 姓 名: 學(xué) 號: 20101002808 指導(dǎo)教師: 2012年1月15日報告目錄報告摘要 ——————————————2題目要求 ——————————————3需求分析 ——————————————3總體分析 ——————————————3詳細(xì)設(shè)計 ——————————————4主函數(shù)部分——————————————4~7各功能模塊函數(shù)部分 ————————— 7輸入模塊 ——————————————7~8統(tǒng)計模塊 ——————————————8~10查詢模塊 ——————————————11~13修改模塊 ——————————————13~16公共函數(shù)部分————————————— 16~19上機操作 ——————————————19~21總結(jié) ——————————————22報告摘要此次C語言課程設(shè)計我選擇的是客房管理系統(tǒng)設(shè)計,系統(tǒng)設(shè)計采用c語言在microsoft visual c++。 報告正文一、題目要求客戶信息包括身份證號、姓名、性別、年齡、房間號。[流程圖]:顯示各功能選項根據(jù) n的值調(diào)用各功能模塊函數(shù)NY輸入n ,判斷n 是否是05主函數(shù)流程圖main() /**主函數(shù)**/{printf(\n\n\n\t\t~~~~~~~~~~~~~~~~酒店管理系統(tǒng)~~~~~~~~~~~~~~~~~)。menu()。n)。 for(i=r。room[i].room_ID)。scanf(%d,amp。jp+n。scanf(%d,amp。room[i].client_list[j].age)。scanf(%d,amp。room[i].client_list[j].month)。 } } r=r+m。}void menu() /*****菜單函數(shù)*****/{int n,w。puts(\t\t\t ||(3).Search ||\n)。printf(\t\tPlease choice you number(15))。else w=0。case 2:stat()。case 4:modify()。并用結(jié)構(gòu)體來存放客戶信息:struct client{ char name[20]。 /*居民身份證*/ int year。struct hotel{ int room_ID。 struct client client_list[M]。 /*r,p為全局變量*/void menu()。void modify_one()。void save()。void regist()。printf(\tHow many new customs?\t)。scanf(%d,amp。i++) { {puts(\n\tRoom_ID:\t)。scanf(%s,room[i].tel)。 room[i].sign=1。scanf(%s,room[i].client_list[j].name)。 puts(\n\tAge:\t)。scanf(%s,room[i].client_list[j].ID_card)。 puts(\n\tMonth:\t)。scanf(%d,amp。 save()。do{puts(\t\t*********************MENU************************\n)。puts(\t\t********************
點擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1