Suppose you get a chance to make the customer service system in a restaurant. This restaurant has an N table surrounded by 4 chairs. Favorite restaurant is famous because it is always packed with customers at work. Open every day starting at 08 am to 8 pm. Any any customer must reserve a seat in advance at least 2 hours before he entered. There are three ordering options: VIP, EXPRESS, ORDINARY. Ration of each class third of the space provided. Each customer can order 0 to M menu provided.
Service process will be undertaken on a per-class queue. VIP class, then REGULAR EXPRESS. VIP class serviced first, then Express and last ORDINARY class. Cost will be calculated based on the items ordered plus the cost of the class, respectively 0.2%, 0.1% and 0% for VIP, EXPRESS and REGULAR from service charges. The cost of services 20,000 per table, -. Amount of fees to be paid each customer include: class fee + service charges + taxes + Accumulated cost items (10% of net accumulation of items).
A customer can order more than two tables with if condition at the VIP table must manambah table full of class Usual maximum quota (5% of the quota table ORDINARY class). If the class grade EXPRESS and REGULAR table full of tables may not add another class.