-How to Create and Run???
-Here is the procedure
1.Copy the code from files and create your own project .
2.while copying code make changes in the code(i.e set the correct paths to text files ,in your system).
3.create your jar file.
4.open command prompt.
5.change the directory to location where your jar file is located.
6.enter "java -jre filename.jar" .
7.now your file will run .
8.if the time is between 10am-10pm we can enter the restaurant.
9.if yes,customer enters the restaurant,door boy welcomes him.
10.host asks the customer how many people,customer will answer(enter value through key board).
11.host replies how many they can serve at present(enter value through key board).
12.if the tables are busy ,customer waits for some time and host allots table when any table gets free.
13.busboy performs his duty .
14.manager comes to table and ask weather they are ready to order.
15. if customer says yes(enter y/Y through key board).
16. menu will be displayed(menu is read from text files).
17.customer gives the order and manager notes it down(order is given through text file)
18.manager sends the order to kitchen,where executive chef expedites the order to line chefs.
19.server receives prepared order from kitchen,and serves to customer.
20.customer eats the order.
21.now manager will calculate the bill,by entering codes of items.
22. manager produces the bill to the customer.
23. customer pays the bill and leaves the table.
24.busboy cleans the table, door boy greets customer while leaving restaurant.
25.customer leaves the restaurant.