Java Reference
In-Depth Information
REQUEST FOR NEW APPLICATION
October 15, 2007
Date submitted:
Doreen Anderson, Manager, Mahalo Polynesian Restaurant
Submitted by:
Our staff would like an easy-to-use program that would help us
reserve party rooms. Customers phone us each day asking for large
group reservations (eight or more people, with a maximum of 20).
We reserve party rooms on a daily basis (no advanced reservations).
We need a quick, easy way to see what rooms are available. After
confirming the customer's smoking preference, we then reserve the
room for the customer by entering the customer's name, phone number,
and number of guests.
Purpose:
Application title:
Reserve a Party Room
Algorithms:
No computations are required; however, all of the rooms should be
reset to a status of available when we start the program each
morning.
Notes:
1. Reservations are taken during the day for evening use of our
party rooms. At this point, we have only eight party rooms (five
nonsmoking and three smoking), but we may add a few more in the
near future.
2. We reserve rooms only for the entire evening and do not accept
reservations for the next day. The program thus does not need to be
concerned with dates and times.
3. The program should allow the user to select the first available
room (either nonsmoking or smoking) and then enter values for the
customer's name, the phone numbe r with area code, and the number
of guests in the party, from 8 to 20. The program should display that
information after the reservation is made to help with seating
arrangements.
4. The program should provide some sort of visual representation of
the rooms as well, with different colors for reserved rooms and
available rooms.
5. Our employees will use the program only in-house; it does not
need to run or be accessible via the Web.
Approvals
Approval status:
X
Approved
Rejected
Approved by:
Tyler Gilbert
Date:
October 28, 2007
Assigned to:
J. Starks, Programmer
FIGURE 5-2
PROBLEM ANALYSIS The problem that the Reservations program should
solve is the booking of reservations for party rooms at a local restaurant.
Table 5-2 displays the inputs and outputs assembled from the requirements
document.
Search WWH ::




Custom Search