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

正文內(nèi)容

c語言課程設(shè)計報告—客房管理系統(tǒng)-在線瀏覽

2024-09-24 21:16本頁面
  

【正文】 void modify_day()。void save()。void stat_u()。void regist()。各功能模塊函數(shù)部分:(1)輸入模塊[需求分析] 對信息進(jìn)行輸入。printf(\tHow many new customs?\t)。n)。scanf(%d,amp。for(i=r。i++) { {puts(\n\tRoom_ID:\t)。room[i].room_ID)。scanf(%s,room[i].tel)。scanf(%d,amp。 room[i].sign=1。jp+n。scanf(%s,room[i].client_list[j].name)。scanf(%d,amp。 puts(\n\tAge:\t)。room[i].client_list[j].age)。scanf(%s,room[i].client_list[j].ID_card)。scanf(%d,amp。 puts(\n\tMonth:\t)。room[i].client_list[j].month)。scanf(%d,amp。 } } r=r+m。 save()。}(2)統(tǒng)計模塊[需求分析] 該模塊的功能是顯示所有客戶記錄信息。do{puts(\t\t*********************MENU************************\n)。puts(\t\t\t\t2).Statistics using room\n)。puts(\t\t**************************************************\n)。scanf(%d,amp。if(n1amp。n3) {m=1。 }else m=0。 switch(n){case 1:stat_o()。 case 2:stat_u()。 case 3:menu()。int s=0。scanf(%d,amp。load_room()。ir。jp。printf(There are %d customer this month,s)。puts(1).Statistics again\t2).back\n)。l)。break。 }}void stat_u() /******統(tǒng)計使用中的房間*****/{int j,l,s=0。 for(j=0。j++) { if(room[j].sign==1) s+=1。puts(\n\nWhat you want to do?\n)。scanf(%d,amp。 switch(l) {case 1:stat_u()。 case 2:stat()。puts(room[i].client_list[j].name)。printf(\nage:%d\n,room[i].client_list[j].age)。printf(%s,room[i].client_list[j].ID_card)。printf(\nmonth:%d\n,room[i].client_list[j].month)。printf(\nRoom_ID:%d\n,room[i].room_ID)。printf(\nPrice:%d\n,room[i].price)。do{puts(\n\n\t\t*********************MENU************************\n)。puts(\t\t2).Search someday \n)。puts(\t\t************************************************\n)。scanf(%d,amp。if(n1amp。n3) {m=1。 }else m=0。 switch(n){case 1:search_one()。 case 2:search_day()。 case 3:menu()。char s[20]。scanf(%s,s)。for(i=0。i++) for(j=0。j++)if(strcmp(room[i].client_list[j].name,s)==0) w=1,m=i,n=j。else printf(\nThere is no record here\n)。puts(1).search again\t2).back\n)。l)。break。 }}void search_day() /*******查詢某日的使用情況*******/{int i,j,l,m,n,a,b,c,w=0。printf(\nYear:)。a)。 scanf(%d,amp。printf(\nDate:)。c)。for(i=0。i++)for(j=0。j++) if((room[i].client_list[j].date==c)amp。(room[i].client_list[j].month==b)amp。(room[i].client_list[j].year==a)) w=1,m=i,n=j,printf_p(m,n)。puts(What you want to do?\n)。scanf(%d,amp。 switch(l){case 1:search_day()。 case 2:search()。[流程圖] 插入模塊調(diào)用加載函數(shù)讓用戶輸入要插入的客戶信息個數(shù) 調(diào)用整條信息輸入函數(shù) 用戶作出選擇,輸入1or21還是22返回主菜單1 瀏覽全部修改模塊流程圖程序:void modify() /***** 修改函數(shù) ******/{int n,m。puts(\t\t\t\t1).modify one people\n)。puts(\t\t\t\t3).MENU())。printf(\t\tPlease choice your number(13):[ ]\b\b)。n)。amp。 getchar()。}while(m==1)。break。break。}}void modify_one() /*****修改個人信息*****/{int i,j,m,n,w=0,l。puts(\t\tPlease input the name)。load_room()。ir。jp。 if(w==1) printf_p(m,n)。 modify_s(m,n)。
點(diǎn)擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1