Question: A new room booking system is required to help guests reserve a room based on the following requirements: Single, Double or Suite. Room Price
A new room booking system is required to help guests reserve a room based on the following requirements: Single, Double or Suite. Room Price (The maximum price the user could afford). With or Without Balcony. With or Without Lounge. . . When a suitable match is found, the guests (identified by their eMail) should be able to reserve the room. Room reservations may also be cancelled. The room data should be stored in a file rooms.txt that will contain the room data and any reservations, though initially every room should be unreserved. Upon application launch, the data should be loaded into appropriate data structures and upon application exit, the data should be saved back to the fille. NOTE: The rooms.txt file (i.e. Appendix A) is provided on Canvas in the Assignments sections You should download the file and add it to your Java project. The format of each room's data is as follows: roomNum roomType roomPrice hasBalcony hasLounge eMail 101 Single 23.50 false false free 102 Single 23.50 false false free 103 Double 27.50 false false free 104 Double 27.50 false false free 105 Double 27.50 false false free 201 Single 23.50 true false free 202 Single 23.50 true false free 203 Double 27.50 true false free 204 Double 27.50 true false free 205 Double 27.50 true false free 301 Single 33.50 true true free 302 Single 33.50 true true free 303 Suite 60.00 true true free 304 Suite 60.00 true true free 305 Suite 60.00 true true free 306 Double 37.50 true true free 307 Double 37.50 true true free
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Design Analysis The room booking system must meet the following requirements Allow managers to reserve a room based on the following criteria Room pri... View full answer
Get step-by-step solutions from verified subject matter experts
