Description: 某旅馆有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. Platform: |
Size: 1589248 |
Author:donghuan |
Hits:
Description: 旅游网站管理系统,采用全球先进技术,使用微软asp框架开发。
-Tourist site management system, adopt the advanced technology, using Microsoft asp framework development. Platform: |
Size: 3494912 |
Author:baby |
Hits:
Description: 旅游管理系统,C++源代码。是不错的借鉴学习的资料。-Travel management system, C++ source code. Is a good reference for learning the information. Platform: |
Size: 508928 |
Author:IT-spy |
Hits: