联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All Windows编程(1) 
按平台查找All WORD(1) 

[Windows编程] lvyouguanlixitong

某旅馆有n个等级的房间;第i等 级有a1个房间;每个房间有b1个床位(1≤i≤n)。旅馆管理系统提供如下服务: 为单身旅客分配床位。根据旅客性别要求(所需要房间等级 ),进行分配,若分配成功,输 出旅客ID、性别、房间等级、 房间号码;分配失败时,若所有等级均无空位,则输出“客满” ,若旅客需要的等级无空床位,但其他等级有床位,则输出“是否 愿意更改等级”的询问。若旅客愿意更改,则重新输入有关信息,再进行分配;否则,分配工作结束。 当单身旅客离店时回收床位 。根据旅客提供情况(房间等级、房间号码、床位号码)进行回收。
Grades in a hotel room with n the first grade i have a1-room each room has b1 beds (1 ≤ i ≤ n). Hotel management system provides the following services: Distribution of beds for single travelers. According to passengers gender requirements (need room level), for distribution, if the distribution of success, the output passenger ID, gender, grade room, the room number allocation failure, if there was no space for all grades, the output is "full up", if the passenger required level of non-empty bed, but other levels of beds, the output is "willing to change the level of" inquiry. If passengers are willing to change, then re-enter the information, further distribution Otherwise, the distribution is completed. When passengers check-out single bed when the recovery. According to passengers the situation (room level, room number, bed number) for recycling. (2010-04-30, WORD, 1552KB, 下载3次)

http://www.pudn.com/Download/item/id/1151383.html
总计:1