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

正文內(nèi)容

c語言課程設(shè)計(jì)報(bào)告學(xué)生宿舍管理系統(tǒng)(留存版)

2024-12-06 08:06上一頁面

下一頁面
  

【正文】 面進(jìn)行其他操作?( 1/0) )。 } } } void serh(struct room *h)//入住信息查詢與修改 { struct room *p。 } else { printf(查詢結(jié)果如下: \n)。 } } } struct room *sort(struct room *h)//修改點(diǎn) { struct room *p1,*p2,*t,*temp,*q。//修改點(diǎn) qnext=h。 /*t 的后繼是 p1*/ p2next=t。 printf(\n 樓號(hào) 房號(hào) 面積 所容納人數(shù) 已入住人數(shù) \n\n)。 goto Z。 while(p) { printf(%7d%7d%8d%13d%8d\n,pLnum,pFnum,psqua,pmaxnum,pinnum)。 scanf(%d,amp。i++) { p=(struct room*)malloc(sizeof(struct room))。 case 6: can()。 } case 4: serh(head)。 } if(y==1) {system(cls)。amp。 getchar()。 int maxnum。 ◎錄入:使用結(jié)構(gòu)體,要求用戶輸入 樓棟、房號(hào) 、面積、可住人數(shù)、已住人數(shù) ◎刪除 : 按房號(hào)刪除以上信息 3 ◎查詢: 按房號(hào)查詢以上信息 ◎修改: 按房號(hào)修改以上信息 ◎ 排序 : 按已住人數(shù)排序信息 2. 函數(shù)原型聲明 struct room *add(struct room *head)。 }。 printf(|| ||\n)。x!=6) { printf(系統(tǒng)中無入住信息,請(qǐng)先進(jìn)行入房登記! \n)。 goto N。 case 5: head=sort(head)。 } N: if(y==0) break。pLnum,amp。 } else { while(p) { if(pFnum==x) { qnext=pnext。 int x,y,z。 printf(\n 樓號(hào) 房號(hào) 面積 所容納人數(shù) 已入住人數(shù) \n\n)。 /*定義臨時(shí)指針 */ temp=hnext。//修改點(diǎn) while (hnext!=NULL) { printf(%7d%7d%8d%13d%8d\n,hLnum,hFnum,hsqua,hmaxnum,hinnum)。 /*新頭結(jié)點(diǎn)為待排序點(diǎn) */ } else /*待排序點(diǎn)應(yīng)插入在中間某個(gè)位置 p2 和 p1 之間,如 p 為空則是尾部 */ { tnext=p1。 printf(修改成功!修改結(jié)果如下: \n)。x!=0) { printf(輸入錯(cuò)誤!請(qǐng)重新輸入! \n)。 } else { printf(\n 樓號(hào) 房號(hào) 面積 所容納人數(shù) 已入住人數(shù) \n\n)。 printf(請(qǐng)輸入退房房號(hào): \n)。in。 } continue。 goto N。 goto T。//菜單選擇 if(headnext==NULLamp。 printf(按回車鍵進(jìn)入菜單界面 \n)。 int squa。//添加函數(shù) struct room *del(struct room *h)。 str
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1