文件名称:HotelRoomManager
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-07-03
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- 肖*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
【酒店前台客房管理程序】HotelRoomManagement.java
某酒店有12层楼,每层楼有10个房间,要求为该酒店设计一套简单的前台房间管理程序,
该程序可以通过在命令行输入命令来为客人办理入住和退房手续。
要求该程序支持通过命令行输入以下命令来进行入住,退房及查询的操作:
(1)search():查询所有房间的状态 empty
(2)in(房间号码 姓名):客人入住
命令:in
请输入客人入住的房间号
1202
请输入入住1202房间的顾客的姓名
parker
提示:姓名为parker的客人入住1202房间
(3)out(房间号码):客人退房
命令:out 1202
提示:1202房间退房
注意:如果某个房间已经有客人入住,在办理入住时,将提示“该房间已有客人入住”
(4)quit:退出程序-[Reception room management program] HotelRoomManagement.java a hotel has 12 floors, each floor has 10 rooms, requiring a simple design of the hotel' s reception room management program that can enter commands at the command line as Guests check-in and check-out. Requirements The program supports command line, type the following command to perform check-out and check the operation: (1) search (): Query status of all rooms empty (2) in (room number, name): guests Command: in please Enter the room number of guests stay 1202 1202 Please enter the customer' s name parker Room Tip: The name is parker guests 1,202 rooms (3) out (room number): Upon checking out of order: out 1202 Tip: Check out Room 1202 Note : If a room has guests at check-in, it will prompt " the room had guests" (4) quit: quit the program
某酒店有12层楼,每层楼有10个房间,要求为该酒店设计一套简单的前台房间管理程序,
该程序可以通过在命令行输入命令来为客人办理入住和退房手续。
要求该程序支持通过命令行输入以下命令来进行入住,退房及查询的操作:
(1)search():查询所有房间的状态 empty
(2)in(房间号码 姓名):客人入住
命令:in
请输入客人入住的房间号
1202
请输入入住1202房间的顾客的姓名
parker
提示:姓名为parker的客人入住1202房间
(3)out(房间号码):客人退房
命令:out 1202
提示:1202房间退房
注意:如果某个房间已经有客人入住,在办理入住时,将提示“该房间已有客人入住”
(4)quit:退出程序-[Reception room management program] HotelRoomManagement.java a hotel has 12 floors, each floor has 10 rooms, requiring a simple design of the hotel' s reception room management program that can enter commands at the command line as Guests check-in and check-out. Requirements The program supports command line, type the following command to perform check-out and check the operation: (1) search (): Query status of all rooms empty (2) in (room number, name): guests Command: in please Enter the room number of guests stay 1202 1202 Please enter the customer' s name parker Room Tip: The name is parker guests 1,202 rooms (3) out (room number): Upon checking out of order: out 1202 Tip: Check out Room 1202 Note : If a room has guests at check-in, it will prompt " the room had guests" (4) quit: quit the program
(系统自动生成,下载前可以参看下载内容)
下载文件列表
HotelRoomManager
................\.classpath
................\.project
................\.settings
................\.........\org.eclipse.jdt.core.prefs
................\bin
................\...\com
................\...\...\zhongx
................\...\...\......\hotelManage
................\...\...\......\...........\HotelRoomManager.class
................\src
................\...\com
................\...\...\zhongx
................\...\...\......\hotelManage
................\...\...\......\...........\HotelRoomManager.java