A new room booking system is required to help guests reserve a room based on the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
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 the full answer
Related Book For
Operations Management Processes And Supply Chains
ISBN: 9781292409863
13th Global Edition
Authors: Lee Krajewski, Naresh Malhotra, Larry Ritzman
Posted Date:
Students also viewed these databases questions
-
What is the time complexity of the following algorithm: m=a i=1 while (i
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Examine the difficulty of adding a proposed lwi.drd, rsl, rs2 (Load With Increment) instruction to MIPS. Interpretation: Reg[rd] = Mem[Reg[rs1] + Reg[rs2]] 1. Which new functional blocks (if any) do...
-
In SI units, the electric field in an electromagnetic wave is described by Ey = 100 sin (1.00 x 107 x wt). Find (a) The amplitude of the corresponding magnetic field oscillations, (b) The wavelength...
-
Refer to Exercise 19. Assume that for a certain bacterium, r = 0.8 0.1 m and h = 1.9 0.1 m. a. Estimate S, and find the relative uncertainty in the estimate. b. Estimate V, and find the relative...
-
The A-36 steel rod has a diameter of 50 mm and is lightly attached to the rigid supports at A and B when T 1 = 50C. Determine the force P that must be applied to the collar at its midpoint so that,...
-
Recording Bad Debt Expense Estimates and Write-Offs Using the Percentage of Credit Sales Method During 2011, Crandell Productions, Inc., recorded credit sales of $800,000. Based on prior experience,...
-
The inputs of a JK FF are Delay and Toggle flip-flops. The Q output of the D-FF is connected to the J input and the Q output of the T-FF to the K input. (i) Draw the logic diagram using AND/NOR gates...
-
Cardinal Company is considering a five-year project that would require a $2,975,000 investment in equipment with a useful life of five years and no salvage value . The company's discount rate is 14%....
-
Solve the following differential equation (y* +2.xy)dx -[kxy** + y**e +2y* * In y + (2k - 1)x ]dy = 0 2k+1 where k =50 + last two digit in your student number (for student number 201 to 209) k= last...
-
Assume that the plate is made of Carbon steel (1%) 2 cm thick and that 300 W is lost from the plate surface by radiation, calculate the inside plate temperature. k=43 W/m.*C Answer:
-
Daniel is an 89 year old widower with $500,000 Term to 100 death benefit policy. Daniel has been paying his monthly premiums for decades. Unfortunately he has just had a stroke and is in intensive...
-
Situational Leadership Situational leadership was originally developed by Paul Hersey and Kenneth Blanchard (1969). As the name implies, situational leadership requires adapting to situations that...
-
How do you think mistakes should be viewed if the organization is to proactively support innovation and change? How can frontline managers encourage and support employees so that they contribute new...
-
Fiscal Year 1 Fiscal Year 2 Long-term Assets: Property, plant, & equipment $28,174 $32,407 Less accumulated depreciation $13,354 $15,357 Property, plant, & equipment (net) $14,824 $17,047 Operating...
-
A pn junction was formed with a heavily doped (108 cm ) p-region and lightly doped (104 cm) n - region. Which of the following statement (s) is (are) correct? (a) The width of the depletion layer...
-
Graph the following conic sections, labeling vertices, foci, directrices, and asymptotes (if they exist). Give the eccentricity of the curve. Use a graphing utility to check your work. 10 5 + 2 cos 0
-
Autoliv is a world-class example of lean manufacturing. This Fortune 500 company makes automotive safety components such as seat belts, airbags, and steering wheels, and has over 80 plants in more...
-
Mulan sells liquid detergents to hotels, hospitals, and individual customers through a network of retailers and wholesalers. To reduce environmental impact, the company is considering selling...
-
An automobile service is having difficulty providing oil changes in the 29 minutes or less mentioned in its advertising. You are to analyze the process of changing automobile engine oil. The subject...
-
If the displacement of an object is 300 m north, what can you say about the distance traveled by the object?
-
An object traveling at a constant velocity vo experiences a constant acceleration in the same direction for a period of time t. Then an acceleration of equal magnitude is experienced in the opposite...
-
You are told that a person has walked 750 m. What can you safely say about the persons final position relative to the starting point?
Study smarter with the SolutionInn App